Merge pull request #8 from extinctCoder/sas-branch-7 #3
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: Documentation Deployment | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| DeployMkdocs: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout code repository | |
| id: code_checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup python environment | |
| id: setup_python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install the required python modules | |
| id: module_installation | |
| run: | | |
| python -m pip install -r requirements.docs.txt | |
| - name: Deploy Documentation on gh-pages branch | |
| id: deploy_mkdocs | |
| run: | | |
| mkdocs gh-deploy --force |