Skip to content

Merge pull request #54 from ioos/dependabot/github_actions/pypa/cibui… #102

Merge pull request #54 from ioos/dependabot/github_actions/pypa/cibui…

Merge pull request #54 from ioos/dependabot/github_actions/pypa/cibui… #102

Workflow file for this run

name: Documentation
on:
pull_request:
push:
branches:
- main
release:
types:
- published
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.8.1
with:
manifest-path: pyproject.toml
- name: Run Tests
run: pixi run --environment py312 docs
- name: Deploy
if: success() && github.event_name == 'release'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html