Fix: use GIT_TOKEN secret (GITEA_TOKEN is reserved)
All checks were successful
Test / test (push) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 7s
PR Preview / teardown-preview (pull_request) Has been skipped

This commit is contained in:
2026-04-06 21:07:43 +00:00
parent 2645d2afe5
commit 3424fd1fd0
2 changed files with 3 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ jobs:
HOST="pr-${PR_ID}.${BASE_DOMAIN}"
curl -s -X POST \
"https://git.euphon.cloud/api/v1/repos/${{ github.repository }}/issues/${PR_ID}/comments" \
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
-H "Authorization: token ${{ secrets.GIT_TOKEN }}" \
-H "Content-Type: application/json" \
-d "{\"body\": \"🚀 Preview deployed: https://${HOST}\n\nDB is a copy of production. Changes here won't affect prod.\"}"
@@ -185,6 +185,6 @@ jobs:
PR_ID="${{ github.event.pull_request.number }}"
curl -s -X POST \
"https://git.euphon.cloud/api/v1/repos/${{ github.repository }}/issues/${PR_ID}/comments" \
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
-H "Authorization: token ${{ secrets.GIT_TOKEN }}" \
-H "Content-Type: application/json" \
-d "{\"body\": \"🗑️ Preview environment torn down.\"}"