Skip to content

Commit

Permalink
adding workflow to deploy book
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Aug 14, 2024
1 parent 5112730 commit 81e6bae
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/deploy_book.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'publish_book'

on:
push:
branches:
- "main"

jobs:
publish_book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.27.1
environments: doc

- name: Build and publish the book
run: pixi run -e doc publish-book
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
pixi run check-generated-predictions
pixi run build-calibration-curve
pixi run different-calibration-curves
pixi run -e doc build-book
pixi run -e doc build-book

0 comments on commit 81e6bae

Please sign in to comment.