Merge pull request #148 from dmitry-sinina/dashboard_image #42
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: | |
name: "Build" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install sphinx | |
run: pip install sphinx sphinx_rtd_theme sphinxcontrib-mermaid sphinxcontrib.googleanalytics | |
- name: install graphviz and rclone | |
run: sudo apt install graphviz rclone | |
- name: Run make | |
run: make | |
- name: Save results as artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: doc-build | |
path: _build/ | |
- name: configure | |
run: rclone config create my-remote webdav url ${{secrets.WEBDAV_URL}} vendor other user '${{secrets.WEBDAV_USER}}' pass '${{secrets.WEBDAV_PASSWORD}}' | |
- name: deploy | |
run: "rclone -I sync _build my-remote:" | |