Merge pull request #2 from erseco/alert-autofix-2 #7
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
| # ./.github/workflows/docs.yml | |
| name: Docs | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v5 | |
| - name: Install Python deps | |
| run: | | |
| pip install -r requirements.txt | |
| pip install -e . | |
| - name: Build MkDocs site | |
| run: make docs | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_branch: gh-pages | |
| publish_dir: site | |