.github/workflows/pages.yml: parse the schema

Try to install Python dependencies with Poetry and then parse the
schema using ./util/generate-hugo-content.py. I'm not sure if we
need to use `poetry run ...` instead.
This commit is contained in:
Alan Orth 2021-12-14 14:22:21 +02:00
parent b6c2be7960
commit 409b7782ac
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 5 additions and 2 deletions

View File

@ -15,8 +15,11 @@ jobs:
python-version: 3.9
- name: Install Poetry
uses: abatilo/actions-poetry@v2.1.4
- name: Poetry version
run: poetry --version
- name: Install Python dependencies
run: poetry install
- name: Generate Hugo content
run: |
./util/generate-hugo-content.py -i data/schema-fields.csv --clean -d
pages:
runs-on: ubuntu-latest
if: ${{ github.ref_name == 'main' }}