Skip to content

Commit c2d9ff2

Browse files
committed
trying different setup for rsync ssh key
1 parent 7b42000 commit c2d9ff2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ jobs:
3333
run: npm run build
3434

3535
- name: Deploy to server
36-
env:
37-
RSYNC_RSH: "ssh -i ${{ secrets.SSH_SECRET_KEY }} -o StrictHostKeyChecking=no"
3836
run: |
39-
rsync -avz --delete --quiet ./public/ [email protected]:/var/www/mith.umd.edu
37+
rsync -avz --delete --quiet -e "ssh -i ${{ secrets.SSH_SECRET_KEY }} -o StrictHostKeyChecking=no" ./public/ [email protected]:/var/www/mith.umd.edu
4038
4139
- name: Clean up
4240
run: rm -rf ./public/

0 commit comments

Comments
 (0)