Better dealing with web directory #5
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
name: Gerby | |
on: | |
- push | |
- workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install Gerby | |
run: | | |
pip install git+https://github.com/gerby-project/plastex.git | |
- name: Prepare the TeX files | |
run: | | |
mkdir gerby | |
make gerby | |
- name: Run Gerby | |
run: | | |
cd gerby | |
plastex --renderer=Gerby book.tex | |