Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit 6b72ba7

Browse files
committed
📝 add server to workflow
1 parent 833d230 commit 6b72ba7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/mdbook.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,6 @@ jobs:
4747
- name: Rename book to public_html
4848
run: mv book public_html
4949

50-
50+
- name: scp upload to production site
51+
run: |
52+
sshpass -p ${{ secrets.PROD_PASS }} scp -o 'StrictHostKeyChecking no' -r public_html/ ${{ secrets.PROD_USER }}@${{ secrets.PROD_IP }}:~/

0 commit comments

Comments
 (0)