We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d56ef05 commit b961379Copy full SHA for b961379
.github/workflows/deploy-to-cs-wm-edu.yml
@@ -27,7 +27,10 @@ jobs:
27
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
28
29
- name: Create ssh config
30
- run: echo "${{ vars.KNOWN_HOSTS }}" >> ~/.ssh/known_hosts"
+ run: |
31
+ touch ~/.ssh/config
32
+ echo 'Host *.wm.edu' >> ~/.ssh/config
33
+ echo ' StrictHostKeyChecking=no' >> ~/.ssh/config
34
35
- name: Deploy with rsync
36
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