Merge pull request #171 from WMD-group/dependabot/github_actions/pypa… #14
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: Build/Publish Develop Docs | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip wheel | |
python -m pip install -e ".[dev,docs]" | |
- name: Setup Docs Deploy | |
run: | | |
git fetch origin gh-pages --depth=1 | |
git config --global user.name "Docs Deploy" | |
git config --global user.email "[email protected]" | |
- name: Build Docs Website | |
run: mike deploy --push main latest |