Skip to content

Merge pull request #3 from LSSTDESC/intro_changes #12

Merge pull request #3 from LSSTDESC/intro_changes

Merge pull request #3 from LSSTDESC/intro_changes #12

Workflow file for this run

name: deploy-book
on:
push:
branches:
- main
jobs:
deploy-book:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build the book
run: jupyter-book build --all .
- name: Push to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html