Update reference #10
This file contains hidden or 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: MkDocs workflow | |
| on: | |
| push: | |
| branches: ["main", "master", "osa_tool"] | |
| pull_request: | |
| branches: ["main", "master"] | |
| jobs: | |
| mkdocs_deployment: | |
| name: "[OSA] Deploying MkDocs" | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: "[OSA] Checking-out repository" | |
| uses: actions/checkout@v4 | |
| - name: "[OSA] Installing Python" | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.12" | |
| - name: "[OSA] Installing MkDocs dependencies" | |
| run: pip install mkdocs mkdocs-material mkdocstrings[python] | |
| - name: "[OSA] MkDocs documentation deploying" | |
| run: mkdocs gh-deploy --force --config-file osa_mkdocs.yml | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |