Skip to content

Commit 8bc30c3

Browse files
committed
update deploy
1 parent 45c395b commit 8bc30c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
contents: write
5555
attestations: write
5656
with:
57-
RELEASE_TYPE: ${{ github.event.inputs.deployment_type == 'Release from Commit' && '' || github.event.inputs.deployment_type }}
58-
COMMIT_HASH: ${{ github.event.inputs.deployment_type != 'Release from Commit' && github.event.inputs.deployment_type || '' }}
57+
RELEASE_TYPE: ${{ (github.event.inputs.deployment_type != 'Release from Commit' && github.event.inputs.deployment_type) || '' }}
58+
COMMIT_HASH: ${{ (github.event.inputs.deployment_type == 'Release from Commit' && github.event.inputs.deployment_type) || '' }}
5959
secrets:
6060
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161

0 commit comments

Comments
 (0)