add sodetlib version to metadata (#437) #163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Sphinx Build | |
uses: ammaraskar/[email protected] | |
with: | |
docs-folder: "docs/" | |
pre-build-command: "pip3 install -r docs/requirements.txt ." | |
build-command: "make html" | |
- name: Deploy HTML | |
uses: burnett01/[email protected] | |
with: | |
switches: -avzr --delete | |
path: docs/_build/html/ | |
remote_path: /mnt/so1/html/github-actions/sodetlib/ | |
remote_host: ${{ secrets.DEPLOY_HOST }} | |
remote_user: ${{ secrets.DEPLOY_USER }} | |
remote_key: ${{ secrets.DEPLOY_KEY }} | |
remote_key_pass: ${{ secrets.DEPLOY_KEY_PASS }} |