mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-11-25 16:18:19 +01:00
.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:
parent
b6c2be7960
commit
409b7782ac
7
.github/workflows/pages.yml
vendored
7
.github/workflows/pages.yml
vendored
@ -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' }}
|
||||
|
Loading…
Reference in New Issue
Block a user