Skip to content

ci

ci #7394

Workflow file for this run

name: ci
on:
push:
branches:
- master
- main
pull_request:
workflow_run:
workflows: ["Update distro tables"]
types: [completed]
jobs:
# PRs only build and lint; deploying stays a default-branch affair.
build:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.10.0
- run: pixi run lint
- run: pixi run build-docs
deploy:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
# `ghp-import -p` pushes the built site to the gh-pages branch
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.10.0
- run: pixi run gh-deploy