From c2e9b67747cbf20945af790affedb81cdbbb8cd3 Mon Sep 17 00:00:00 2001 From: zimoch Date: Fri, 26 Jun 2026 11:41:36 +0200 Subject: [PATCH] 2nd try --- .gitea/workflows/deploy-pages.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy-pages.yml b/.gitea/workflows/deploy-pages.yml index 3f486d01..acd859b4 100644 --- a/.gitea/workflows/deploy-pages.yml +++ b/.gitea/workflows/deploy-pages.yml @@ -24,11 +24,13 @@ jobs: git config --global user.email "actions@gitea.local" - name: Push to gitea-pages branch + env: + REPO_URL: ${{ github.server_url }}/${{ github.repository }}.git run: | git checkout --orphan gitea-pages git reset --hard mv site/* . git add . git commit -m "Update site - $(date)" - git push -f https://${{ secrets.GITHUB_TOKEN }}@${{ github.server_url#https:// }}/${{gitea.repository}}.git gitea-pages + git push -f https://${{ secrets.GITHUB_TOKEN }}@${{ REPO_URL#https:// }} gitea-pages