From 409b7782ac8b641928f39702a54ca4d74b6ef7d1 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 14 Dec 2021 14:22:21 +0200 Subject: [PATCH] .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. --- .github/workflows/pages.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 67f0b49d..ce8c67e8 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -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' }}