diff --git a/.gitea/workflows/build-pdflatex.yml b/.gitea/workflows/build-pdflatex.yml index 9cea779..f22c7bd 100644 --- a/.gitea/workflows/build-pdflatex.yml +++ b/.gitea/workflows/build-pdflatex.yml @@ -45,7 +45,7 @@ jobs: run: | git config user.name "gitea-actions" git config user.email "actions@gitea.local" - git remote set-url origin "https://Domipoke:${{ secrets.GITEA_PUSH_TOKEN }}@gitea.egregge.eg/Domipoke/SharedLaTeX.git" + git remote set-url origin "https://Domipoke:${{ secrets.PUSH_TOKEN }}@gitea.egregge.eg/Domipoke/SharedLaTeX.git" BRANCH="${GITHUB_REF#refs/heads/}" echo "Pushing to branch: $BRANCH" diff --git a/.gitea/workflows/build-xelatex.yml b/.gitea/workflows/build-xelatex.yml index 381d239..9c0e4cd 100644 --- a/.gitea/workflows/build-xelatex.yml +++ b/.gitea/workflows/build-xelatex.yml @@ -49,7 +49,7 @@ jobs: run: | git config user.name "gitea-actions" git config user.email "actions@gitea.local" - git remote set-url origin "https://Domipoke:${{ secrets.GITEA_PUSH_TOKEN }}@gitea.egregge.eg/Domipoke/SharedLaTeX.git" + git remote set-url origin "https://Domipoke:${{ secrets.PUSH_TOKEN }}@gitea.egregge.eg/Domipoke/SharedLaTeX.git" BRANCH="${GITHUB_REF#refs/heads/}" echo "Pushing to branch: $BRANCH" @@ -57,4 +57,4 @@ jobs: # Ignore the .texcache folder so it doesn't get committed git add pdf/*.pdf git diff --cached --quiet || git commit -m "CI: rebuild all PDFs [skip ci]" - git push origin HEAD:refs/heads/"$BRANCH" \ No newline at end of file + git push origin HEAD:refs/heads/"$BRANCH"