diff --git a/.gitea/workflows/deploy-pages.yml b/.gitea/workflows/deploy-pages.yml index 0b4164b4..dfb429b7 100644 --- a/.gitea/workflows/deploy-pages.yml +++ b/.gitea/workflows/deploy-pages.yml @@ -30,5 +30,6 @@ jobs: mv site/* . git add . git commit -m "Update site - $(date)" - git push -f https://${{ secrets.GITHUB_TOKEN }}@${{ github.server_url }}/${{ github.repository }}.git gitea-pages + REPO_URL=$(echo "${{ github.server_url }}/${{ github.repository }}.git" | sed 's|https://||') + git push -f https://${{ secrets.GITHUB_TOKEN }}@$REPO_URL gitea-pages