Skip to content

Commit 45c395b

Browse files
committed
update deploy workflow
1 parent 01df15d commit 45c395b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,19 @@ jobs:
5959
secrets:
6060
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161

62-
6362
build-docker-image:
64-
needs: [versioning]
63+
needs: [ versioning ]
6564
uses: ./.github/workflows/reusable__build.yml
6665
with:
6766
COMMIT_HASH: ${{ github.head_ref || github.ref_name }}
6867
FULL_IMAGE_TAG: ${{needs.versioning.outputs.IMAGE_TAG}}
6968

70-
71-
7269
e2e:
73-
needs: [build-docker-image, versioning]
70+
needs: [ build-docker-image, versioning ]
7471
uses: ./.github/workflows/reusable__e2e-testing.yml
7572
with:
7673
DOCKER_IMAGE_TAG: ${{ needs.versioning.outputs.IMAGE_TAG }}
7774

78-
79-
8075
deploy-release:
8176
needs:
8277
- e2e
@@ -99,6 +94,7 @@ jobs:
9994

10095
generate-and-push-sbom:
10196
uses: ./.github/workflows/reusable__deptrack-push-action.yml
97+
needs: [ deploy-release ]
10298
if: ${{ inputs.deployment_environment != 'No deployment (only build)' }}
10399
secrets: inherit
104100
with:

0 commit comments

Comments
 (0)