2nd try
Build and Deploy Documentation / build-and-deploy (push) Successful in 4s

This commit is contained in:
2026-06-26 11:41:36 +02:00
parent b31a4947e6
commit c2e9b67747
+3 -1
View File
@@ -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