v1.1.1 #2
Workflow file for this run
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: Documentation | |
on: | |
release: | |
types: [ published ] | |
jobs: | |
docs-deployment: | |
name: 'Deploy documentation' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get the latest code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: MkDocs build | |
run: | | |
pip install mkdocs mkdocs-material | |
mkdocs build | |
- uses: jsmrcaga/action-netlify-deploy@v2.0.0 | |
with: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_DEPLOY_TO_PROD: true | |
build_directory: 'site' | |
install_command: "echo Skipping installing the dependencies" | |
build_command: "echo Skipping building the web files" |