enable github mirror and pages github action
GitHub Action
-
Dummy example test for GitHub-action
-
Extend example to feature preprocessing with python
-
Test/Adapt documentation for the workflow
-
Some of the files need to be adapted with the corresponding URL of GitHub pages (see .gitlab-ci.yml)
sed -i -e "s;baseurl.*;baseurl = \"${REVIEW_BASE_DIR}/\";" config/production/config.toml
sed -i -e "s;/js/pontifex-graph.js;${REVIEW_BASE_DIR}/js/pontifex-graph.js;" layouts/shortcodes/header1.html
In our case it should be https://HOOU-TUHH.github.io/pontifex-hugo/
, see here
baseurl needs to read /pontifex-hugo/
then it should work
If !46 (merged) has been merged, one can reduce automatization and just tell the user to set the baseurl in the config.toml manually
Mirroring
- Wait for #33 (closed)
- Discuss the mirror's location and affiliation: https://github.com/HOOU-TUHH/Pontifex-Hugo
- Create repo for mirror
- Link VSSUE to new repo on GitHub
- Create keys etc.
-
Setup
{BASE_DIR}
variable on GitHub