From 0d76b51cffbebb4304c20ffe53c487a6c9b8796c Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Mon, 29 Jun 2026 14:34:03 +0200 Subject: [PATCH] print location of rendered page in workflow output --- .gitea/workflows/deploy-pages.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/deploy-pages.yml b/.gitea/workflows/deploy-pages.yml index 669bdca1..a971647f 100644 --- a/.gitea/workflows/deploy-pages.yml +++ b/.gitea/workflows/deploy-pages.yml @@ -39,3 +39,7 @@ jobs: REPO_URL=$(echo "${{ github.server_url }}/${{ github.repository }}.git" | sed 's|https://||') git push -f https://${{ secrets.GITHUB_TOKEN }}@$REPO_URL gitea-pages + NAMESPACE=$(echo "${{ github.repository }}" | sed 's|/.*||') + REPO=$(echo "${{ github.repository }}" | sed -e 's|^[^/]*/|/|' -e 's|/gitea-pages||') + echo Your page is now at https://${NAMESPACE}.pages.psi.ch${REPO} +