Skip to content

Commit b961379

Browse files
committed
test without fingerprinting
1 parent d56ef05 commit b961379

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy-to-cs-wm-edu.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ jobs:
2727
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
2828

2929
- name: Create ssh config
30-
run: echo "${{ vars.KNOWN_HOSTS }}" >> ~/.ssh/known_hosts"
30+
run: |
31+
touch ~/.ssh/config
32+
echo 'Host *.wm.edu' >> ~/.ssh/config
33+
echo ' StrictHostKeyChecking=no' >> ~/.ssh/config
3134
3235
- name: Deploy with rsync
3336
run: rsync -rcvz --delete --exclude='.git*' --exclude='.zfs' -e 'ssh -A -J ${{ vars.WM_USERNAME }}@bastion.wm.edu' _site/ "${{ vars.SSH_USERNAME }}@${{ vars.CS_DEPT_HOST }}:${{ vars.DEPLOY_DIRECTORY }}/"

0 commit comments

Comments
 (0)