File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 21
21
type : boolean
22
22
default : true
23
23
24
+ # 通过 push 触发的 CI 通过 env 调控。
25
+ env :
26
+ DEPLOY_DENO_PUSH : true
27
+ DEPLOY_DOCKER_PUSH : false
28
+
24
29
jobs :
25
30
unit-test :
26
31
runs-on : ubuntu-latest
@@ -101,9 +106,6 @@ jobs:
101
106
102
107
deploy-to-deno :
103
108
needs : [upload-art]
104
- # 通过 push 触发的 CI 通过 env 调控。
105
- env :
106
- DEPLOY_DENO_PUSH : true
107
109
if : ${{ inputs.deno }} || ( ${{ github.event_name == 'push' }} && ${{ env.DEPLOY_DENO_PUSH == 'true' }} )
108
110
runs-on : ubuntu-latest
109
111
permissions :
@@ -122,8 +124,6 @@ jobs:
122
124
123
125
release-docker :
124
126
needs : [test-docker]
125
- env :
126
- DEPLOY_DOCKER_PUSH : false
127
127
if : ${{ inputs.docker }} || ( ${{ github.event_name == 'push' }} && ${{ env.DEPLOY_DOCKER_PUSH == 'true' }} )
128
128
runs-on : ubuntu-latest
129
129
You can’t perform that action at this time.
0 commit comments