Skip to content

Merge pull request #673 from conda-forge/autoupdate-action #1020

Merge pull request #673 from conda-forge/autoupdate-action

Merge pull request #673 from conda-forge/autoupdate-action #1020

Workflow file for this run

name: Build docs
on: [ push, pull_request ]
jobs:
docs:
runs-on: ubuntu-20.04
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
- run: python -m pip install -r docs/requirements.txt
- run: python docs/releases.py
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
path: build/docs
name: docs
- uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/docs/all-releases
if: startsWith(github.ref, 'refs/tags/')