zensical errors
Build and Deploy Documentation / build-and-deploy (push) Failing after 3s

This commit is contained in:
2026-06-29 11:19:42 +02:00
parent 65908ea631
commit 1f16a8f17c
+7 -2
View File
@@ -18,7 +18,11 @@ jobs:
- name: Build page
run: |
sed -i 's|repo_url[[:space:]]*=[[:space:]]*".*"|repo_url = "${{ github.server_url }}/${{ github.repository }}"|' zensical.toml
/opt/python-env/bin/zensical build
/opt/python-env/bin/zensical --version
# As long as we use ages old zensical version 0.0.11,
# error return does not work. Do our own:
#/opt/python-env/bin/zensical build
! /opt/python-env/bin/zensical build | tee /std/err | grep -q '^Error:'
- name: Configure Git
run: |
@@ -34,4 +38,5 @@ jobs:
git commit -m "Update site - $(date)"
REPO_URL=$(echo "${{ github.server_url }}/${{ github.repository }}.git" | sed 's|https://||')
git push -f https://${{ secrets.GITHUB_TOKEN }}@$REPO_URL gitea-pages
echo "Your page shoule be available now at"
echo "https://${{ github.repository }}.pages.psi.ch"