Skip to content

Commit

Permalink
📝 add server to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
omarespejel committed Oct 12, 2023
1 parent 833d230 commit 6b72ba7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ jobs:
- name: Rename book to public_html
run: mv book public_html


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

0 comments on commit 6b72ba7

Please sign in to comment.