File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 9
9
builder-host :
10
10
required : true
11
11
type : string
12
+ environment :
13
+ required : true
14
+ type : string
12
15
secrets :
13
16
PRIVATE_GITHUB_DEPLOY_TOKEN :
14
17
required : true
27
30
runs-on : ${{ matrix.os }}
28
31
29
32
environment :
30
- name : development
33
+ name : ${{ inputs.environment }}
31
34
32
35
env :
33
36
DATABASE_URL : postgres://
Original file line number Diff line number Diff line change 90
90
with :
91
91
builder-url : ${{ needs.deployment.outputs.builder-url }}
92
92
builder-host : ${{ needs.deployment.outputs.builder-host }}
93
+ environment : development
93
94
secrets :
95
+ # We are not passing the secret here (as it does not exist in the current environment).
96
+ # Instead, this serves as a signal to the calling workflow that it has permission to extract it from the environment.
94
97
PRIVATE_GITHUB_DEPLOY_TOKEN : ${{ secrets.PRIVATE_GITHUB_DEPLOY_TOKEN }}
95
98
96
99
delete-github-deployments :
You can’t perform that action at this time.
0 commit comments