更新部署工作流,将分支从 prod 修改为 main,并相应调整文档说明
Deploy production / deploy (push) Successful in 54s

This commit is contained in:
yuxuanhui
2026-09-25 13:32:52 +08:00
parent f1cc7da714
commit 2cf08c9022
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
name: Deploy production
on:
push:
branches: [prod]
branches: [main]
workflow_dispatch:
jobs:
deploy:
# Manual runs must also select prod before receiving production credentials.
if: ${{ github.ref == 'refs/heads/prod' }}
# Manual runs must also select main before receiving production credentials.
if: ${{ github.ref == 'refs/heads/main' }}
# Match the label of tencent-prod-runner on server B, not its runner name.
runs-on: tencent-prod
steps: