ci: use built-in repository token
Verify mini program and deploy preview / verify-deploy (push) Has been cancelled

This commit is contained in:
2026-09-18 21:58:13 +08:00
parent e99a2bb4d4
commit 65b290be5f
+2 -3
View File
@@ -9,7 +9,7 @@ concurrency:
jobs:
verify-deploy:
runs-on: ubuntu-latest
container: { image: docker:27-cli }
container: { image: "docker:27-cli" }
timeout-minutes: 20
env:
SOURCE_SERVER: ${{ gitea.server_url }}
@@ -19,7 +19,7 @@ jobs:
API_BASE_URL: ${{ vars.API_BASE_URL || 'http://47.76.92.159:18082' }}
steps:
- name: Fetch exact revision
env: { SOURCE_TOKEN: "${{ secrets.GITEA_TOKEN }}" }
env: { SOURCE_TOKEN: "${{ secrets.GITEA_TOKEN || gitea.token }}" }
run: |
set -eu
apk add --no-cache python3 nodejs curl
@@ -46,4 +46,3 @@ jobs:
for i in 1 2 3 4 5 6; do curl -fsS "http://127.0.0.1:$DEPLOY_PORT/health" && exit 0; sleep 2; done
docker logs rice-pk-xhs-preview
exit 1