File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010# 2. deploy: Deploy to production (requires environment approval)
1111#
1212# Setup:
13- # - Create "production " environment in repo settings with required reviewers
13+ # - Create "prod " environment in repo settings with required reviewers
1414# - Install self-hosted runner on production server (see docs)
15- # - Configure runner with labels: [self-hosted, linux, production ]
15+ # - Configure runner with labels: [self-hosted, linux, prod ]
1616# =============================================================================
1717
1818name : Release mqBase
@@ -260,8 +260,8 @@ jobs:
260260 always() &&
261261 needs.build.result == 'success' &&
262262 (startsWith(github.ref, 'refs/tags/v') || inputs.deploy == true)
263- runs-on : [self-hosted, linux, production ]
264- environment : production # Requires approval from reviewers
263+ runs-on : [self-hosted, linux, prod ]
264+ environment : prod # Requires approval from reviewers
265265
266266 steps :
267267 - name : Deploy mqBase v${{ needs.build.outputs.version }}
You can’t perform that action at this time.
0 commit comments