mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2024-11-22 06:45:02 +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
|
python-version: 3.9
|
||||||
- name: Install Poetry
|
- name: Install Poetry
|
||||||
uses: abatilo/actions-poetry@v2.1.4
|
uses: abatilo/actions-poetry@v2.1.4
|
||||||
- name: Poetry version
|
- name: Install Python dependencies
|
||||||
run: poetry --version
|
run: poetry install
|
||||||
|
- name: Generate Hugo content
|
||||||
|
run: |
|
||||||
|
./util/generate-hugo-content.py -i data/schema-fields.csv --clean -d
|
||||||
pages:
|
pages:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.ref_name == 'main' }}
|
if: ${{ github.ref_name == 'main' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user