Skip to content

Bump fire from 0.6.0 to 0.7.0 (#141) #50

Bump fire from 0.6.0 to 0.7.0 (#141)

Bump fire from 0.6.0 to 0.7.0 (#141) #50

Workflow file for this run

# deploys the software gardening almanack content through
# GH Pages using Jupyter Book publishing tools.
---
name: deploy book
on:
push:
branches: [main]
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install python env
uses: ./.github/actions/install-python-env
- name: Build the jupyter book content
run: |
poetry run poe build-book
- name: Build a PDF from the HTML content
run: |
poetry run poe build-book-pdf
- name: Copy and rename the PDF to the HTML dir
run: |
cp src/_pdfbuild/_build/pdf/book.pdf \
src/book/_build/html/software-gardening-almanack.pdf
- name: Add nojekyll config for GH pages
run: |
touch src/book/_build/html/.nojekyll
- name: Deploy book to GH Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: src/book/_build/html