Skip to content

Merge pull request #401 from Simple-Robotics/topic/update-pixi #178

Merge pull request #401 from Simple-Robotics/topic/update-pixi

Merge pull request #401 from Simple-Robotics/topic/update-pixi #178

Workflow file for this run

name: gh-pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: prefix-dev/setup-pixi@v0.9.3
with:
cache: true
environments: all
- name: Print environment
shell: bash -l {0}
run: |
conda info
mamba list
env
- name: Build documentation
shell: bash -l {0}
run: |
pixi run -e all doc
- name: Upload to GitHub pages
uses: actions/upload-pages-artifact@v3
with:
path: build/doc/doxygen-html
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy GitHub Pages site
uses: actions/deploy-pages@v4.0.5
id: deployment