Merge pull request #3 from TheBrambleShark/MkDocs #1
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: Publish Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| name: Checkout | |
| - uses: actions/setup-python@v5 | |
| name: Setup Python | |
| with: | |
| python-version: 3.x | |
| cache: 'pip' | |
| - run: pip install -r requirements.txt | |
| name: Install pip packages. | |
| - run: mkdocs build | |
| - uses: softprops/action-gh-release@v2 | |
| name: Build Release | |
| with: | |
| files: site/**/*.* | |
| draft: true # We want to have an admin manually approve releases. | |
| discussion_category_name: releases |