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