Commit Graph

11 Commits

Author SHA1 Message Date
Alan Orth 76294adab6
.github/workflows/pages.yml: retab 2021-12-14 14:48:06 +02:00
Alan Orth 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
Alan Orth ef580dfd86
.github/workflows/pages.yml: use poetry run 2021-12-14 14:24:38 +02:00
Alan Orth 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
Alan Orth 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
Alan Orth 6fa4791eaf
.github/workflows/pages.yml: Fix syntax
It's due to the indentation (missing the with:).
2021-12-14 14:14:35 +02:00
Alan Orth 0ccf573ace
.github/workflows/pages.yml: syntax error
Not sure why this line has a syntax error...?
2021-12-14 14:13:36 +02:00
Alan Orth 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
Alan Orth 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
Alan Orth d2ee0b5770
.github/workflows/pages.yml: Deploy to site branch 2021-11-01 08:41:17 +02:00
Alan Orth 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