Skip to content

Commit 208301d

Browse files
committed
test update config
1 parent a1ec0cc commit 208301d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

+7-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,11 @@ jobs:
2626
key: ${{ secrets.SSH_PRIVATE_KEY }}
2727
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
2828

29+
- name: Create ssh config
30+
run: |
31+
touch ~/.ssh/config
32+
echo 'Host *.wm.edu' >> ~/.ssh/config
33+
echo ' StrictHostKeyChecking=no' >> ~/.ssh/config
34+
2935
- name: Deploy with rsync
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 }}/"
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 }}/"

0 commit comments

Comments
 (0)