Skip to content

Commit 2887e99

Browse files
committed
fix deployment workflow
1 parent 1426eda commit 2887e99

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
contents: write
5858
attestations: write
5959
with:
60-
# Pass the combined strategy or hash input
61-
version_strategy_or_hash: ${{ github.event.inputs.deployment_type == 'Release from Commit' && github.event.inputs.commit_hash || github.event.inputs.deployment_type }}
60+
RELEASE_TYPE: ${{ github.event.inputs.deployment_type == 'Release from Commit' && '' || github.event.inputs.deployment_type }}
61+
COMMIT_HASH: ${{ github.event.inputs.deployment_type != 'Release from Commit' && github.event.inputs.deployment_type || '' }}
6262
secrets:
6363
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6464

@@ -73,18 +73,18 @@ jobs:
7373

7474

7575

76-
# e2e:
77-
# needs: [build-docker-image, versioning]
78-
# uses: ./.github/workflows/reusable__e2e-testing.yml
79-
# with:
80-
# DOCKER_IMAGE_TAG: ${{ needs.versioning.outputs.IMAGE_TAG }}
76+
e2e:
77+
needs: [build-docker-image, versioning]
78+
uses: ./.github/workflows/reusable__e2e-testing.yml
79+
with:
80+
DOCKER_IMAGE_TAG: ${{ needs.versioning.outputs.IMAGE_TAG }}
8181

8282

8383

8484
deploy-release:
8585
needs:
86-
# - e2e
87-
- build-docker-image
86+
- e2e
87+
# - build-docker-image
8888
- versioning
8989
uses: ./.github/workflows/reusable__deploy-release.yml
9090
with:
@@ -108,4 +108,3 @@ jobs:
108108
secrets: inherit
109109
with:
110110
ENVIRONMENT_NAME: ${{ inputs.deployment_environment}}
111-

0 commit comments

Comments
 (0)