clarify community badge procedures, closes #1 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 . |