Skip to content

Explore and Build Badge updates #4

Explore and Build Badge updates

Explore and Build Badge updates #4

# Used rhodyprog4ds repository as a template for setting up the publish file
# Test pull requests without pushing
name: test-build
on:
pull_request:
branches: [ main ]
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Install dependencies
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: find file list
run: |
pip install git+https://github.com/introcompsys/courseutils@main
kwlcsv .
# Build book
- name: Build the book
run: |
jupyter-book build . --builder pdfhtml
mv _build/pdf/book.pdf _build/html/coursemanual.pdf
jupyter-book build -n -W --keep-going .