Fix: use GIT_TOKEN secret (GITEA_TOKEN is reserved)
This commit is contained in:
@@ -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.\"}"
|
||||
|
||||
2
node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json
generated
vendored
2
node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json
generated
vendored
@@ -1 +1 @@
|
||||
{"version":"4.1.2","results":[[":frontend/src/__tests__/volumeDilution.test.js",{"duration":5.926774999999992,"failed":false}],[":frontend/src/__tests__/smartPaste.test.js",{"duration":16.112632000000005,"failed":false}],[":frontend/src/__tests__/oilCalculations.test.js",{"duration":11.990026,"failed":false}],[":frontend/src/__tests__/dialog.test.js",{"duration":4.135876999999994,"failed":false}],[":frontend/src/__tests__/oilTranslation.test.js",{"duration":4.413353999999998,"failed":false}]]}
|
||||
{"version":"4.1.2","results":[[":frontend/src/__tests__/volumeDilution.test.js",{"duration":6.227510999999993,"failed":false}],[":frontend/src/__tests__/smartPaste.test.js",{"duration":14.144011000000006,"failed":false}],[":frontend/src/__tests__/oilCalculations.test.js",{"duration":18.03941499999999,"failed":false}],[":frontend/src/__tests__/dialog.test.js",{"duration":3.7299579999999963,"failed":false}],[":frontend/src/__tests__/oilTranslation.test.js",{"duration":5.783867999999998,"failed":false}]]}
|
||||
Reference in New Issue
Block a user