File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 27
27
known_hosts : ' just-a-placeholder-so-we-dont-get-errors'
28
28
29
29
- name : Create ssh config
30
- run : |
31
- touch ~/.ssh/config
32
- echo 'Host *.wm.edu' >> ~/.ssh/config
33
- echo ' StrictHostKeyChecking=no' >> ~/.ssh/config
30
+ run : echo "${{ vars.KNOWN_HOSTS }}" >> ~/.ssh/known_hosts"
34
31
35
32
- name : Deploy with rsync
36
- run : rsync -rcvz --delete --exclude='.git*' --exclude='.zfs' -e 'ssh -A -J ${{ vars.SSH_USERNAME }}@bastion.wm.edu ${{ vars.SSH_USERNAME }}@${{ vars.CS_DEPT_HOST }}' _site/ "dest :${{ vars.DEPLOY_DIRECTORY }}/"
33
+ 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 }}/"
You can’t perform that action at this time.
0 commit comments