Skip to content

Commit

Permalink
Upload documentation using sftp
Browse files Browse the repository at this point in the history
  • Loading branch information
tpeulen committed Feb 4, 2024
1 parent fb9fe18 commit a6e07f3
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ jobs:
conda list
cd doc
make
- uses: bxb100/action-upload-webdav@v1
- uses: Dylan700/sftp-upload-action@latest
with:
webdav_address: ${{secrets.WEBDAV_ADDRESS}}
webdav_username: ${{secrets.WEBDAV_USERNAME}}
webdav_password: ${{secrets.WEBDAV_PASSWORD}}
#webdav_upload_path: "./test/bff_test/master"
webdav_upload_path: "./www/docs.peulen.xyz/project/bff/master"
files: "./doc/_build/html/stable/**"
server: ${{secrets.SFTP_ENDPOINT}}
username: ${{secrets.SFTP_USER}}
passphrase: ${{secrets.SFTP_PASSWORD}}
port: ${{secrets.SFTP_PORT}}
uploads: |
./doc/_build/html/ => ./www/docs.peulen.xyz/project/bff/master/
delete: 'true'

0 comments on commit a6e07f3

Please sign in to comment.