Commit Graph

16 Commits

Author SHA1 Message Date
baf534efd5
Update references to shema-fields.csv 2021-12-20 12:04:11 +02:00
3961c3e483
.github/workflows/pages.yml: try to git pull
We should git pull before we update the site.
2021-12-14 15:14:37 +02:00
2eeaa63cce
.github/workflows/pages.yml: add more comments 2021-12-14 14:58:01 +02:00
99be04a784
.github/workflows/pages.yml: update dependencies
Only attempt to update the site content if parsing the schema and
updating the site was successful.
2021-12-14 14:54:54 +02:00
871dca1a49
.github/workflows/pages.yml: add comments 2021-12-14 14:54:07 +02:00
76294adab6
.github/workflows/pages.yml: retab 2021-12-14 14:48:06 +02:00
d6d9767e2d
.github/workflows/pages.yml: attempt to update site
If there are changes to the site after running the schema parsing
script we should commit the changes.
2021-12-14 14:46:16 +02:00
ef580dfd86
.github/workflows/pages.yml: use poetry run 2021-12-14 14:24:38 +02:00
409b7782ac
.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.
2021-12-14 14:22:21 +02:00
b6c2be7960
.github/workflows/pages.yml: try default Poetry
It's better if we don't have to specify an exact version for now.
2021-12-14 14:21:43 +02:00
6fa4791eaf
.github/workflows/pages.yml: Fix syntax
It's due to the indentation (missing the with:).
2021-12-14 14:14:35 +02:00
0ccf573ace
.github/workflows/pages.yml: syntax error
Not sure why this line has a syntax error...?
2021-12-14 14:13:36 +02:00
4e92f0b8cd
.github/workflows/pages.yml: adjust branches
Run Python job steps on all branches, but only push to GitHub pages
from main.

See: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
See: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
2021-12-14 14:09:58 +02:00
22b78ea149
.github/workflows/pages.yml: add Python for parsing
Attempt to add Python and Poetry so we can run the schema parsing
scripts to generate the site content and the RDF.
2021-12-14 14:02:16 +02:00
d2ee0b5770
.github/workflows/pages.yml: Deploy to site branch 2021-11-01 08:41:17 +02:00
992fda8f85
Add GitHub workflow to publish to Pages
It seems we can only enable GitHub Pages with subdirectories at the
root of the project. Ours is in ./site/docs so I think we need to
use an example like Hexo's to publish with a GitHub workflow.

See: https://hexo.io/docs/github-pages
2021-11-01 08:38:05 +02:00