edits on PDAF manual #848
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: stable documentation | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - docs_update | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Configure git user | |
| run: | | |
| git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
| git config --global user.name "github-actions[bot]" | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| - name: Install python packages | |
| run: | | |
| pip install --upgrade pip | |
| pip install mike mkdocs mkdocs-material | |
| - name: Deploy with mike | |
| run: | | |
| VERSION=${GITHUB_REF_NAME} | |
| mike deploy --push --update-aliases $VERSION stable | |
| mike set-default --push stable | |