Skip to content

Commit

Permalink
[CD] Update documentation publishing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chnoblouch committed May 27, 2024
1 parent 8dad7b1 commit ad014d9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ jobs:
run: doxygen

- name: Upload documentation
working-directory: ${{ github.workspace }}/docs/html
run: tar -czf - * | sshpass -p "${{ secrets.EMSCRIPTEN_DEPLOY_PASSWORD }}" ssh -o StrictHostKeyChecking=no [email protected] "rm -rf docs && mkdir docs && cd docs && tar xzvf -"
working-directory: ${{ github.workspace }}/docs
run: |
sshpass -p "${{ secrets.EMSCRIPTEN_DEPLOY_PASSWORD }}" sftp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "${{ secrets.EMSCRIPTEN_DEPLOY_REMOTE }}" << EOF
put -r html public/www/docs
EOF

0 comments on commit ad014d9

Please sign in to comment.