Merge pull request #95 from kraken-tech/pre-commit-ci-update-config #39
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: build main branch docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: '.github/workflows/.python-version' | |
| - name: Install Dependencies | |
| run: | | |
| pip install --group docs . | |
| - name: Configure git | |
| run: | | |
| git config --global user.name "GitHub docs action" | |
| git config --global user.email "[email protected]" | |
| - name: Build Docs Site | |
| run: | | |
| mike deploy --push --update-aliases dev |