Skip to content

Commit d4d042d

Browse files
committed
this gonna work?
1 parent dcc2aac commit d4d042d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ jobs:
103103
needs: [upload-art]
104104
# 通过 push 触发的 CI 通过 env 调控。
105105
env:
106-
DEPLOY_DENO_PUSH: 'true'
107-
if: ${{ inputs.deno }} || ( github.event_name == 'push' && env.DEPLOY_DENO_PUSH == 'true' )
106+
DEPLOY_DENO_PUSH: true
107+
if: ${{ inputs.deno }} || ( ${{ github.event_name == 'push' }} && ${{ env.DEPLOY_DENO_PUSH == 'true' }} )
108108
runs-on: ubuntu-latest
109109
permissions:
110110
id-token: write
@@ -123,8 +123,8 @@ jobs:
123123
release-docker:
124124
needs: [test-docker]
125125
env:
126-
DEPLOY_DOCKER_PUSH: 'false'
127-
if: ${{ inputs.docker }} || ( github.event_name == 'push' && env.DEPLOY_DOCKER_PUSH == 'true' )
126+
DEPLOY_DOCKER_PUSH: false
127+
if: ${{ inputs.docker }} || ( ${{ github.event_name == 'push' }} && ${{ env.DEPLOY_DOCKER_PUSH == 'true' }} )
128128
runs-on: ubuntu-latest
129129

130130
steps:

0 commit comments

Comments
 (0)