This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user