Switch from Nox to Hatch (#260) #46
This file contains 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 Develop Docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-develop-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Install dependencies | |
run: pip install --upgrade pip hatch uv | |
- name: Publish Develop Docs | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
hatch run docs:deploy_develop | |
concurrency: | |
group: publish-docs |