Skip to content

Commit

Permalink
Merge pull request #578 from ayuki-joto/fix/add-needs
Browse files Browse the repository at this point in the history
fix: add action needs
  • Loading branch information
ayuki-joto authored Nov 9, 2023
2 parents c6598c3 + a553285 commit 690b0f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,14 @@ jobs:
- create-deploy-env
uses: ./.github/workflows/_build.yaml
with:
image-tags: "${{ needs.release.outputs.tag_name }}"
deploy-env: "${{ needs.create-deploy-env.outputs.deploy-env }}"
image-tags: ${{ needs.release.outputs.tag_name }}
deploy-env: ${{ needs.create-deploy-env.outputs.deploy-env }}
secrets:
aws-ecr-repo-name: ${{ secrets.AWS_ECR_REPO_NAME }}

stg:
needs:
- create-deploy-env
- release
- build
uses: ./.github/workflows/_deploy.yaml
Expand All @@ -66,6 +67,7 @@ jobs:
prod:
if: ${{ needs.release.outputs.created }}
needs:
- create-deploy-env
- release
- stg
uses: ./.github/workflows/_deploy.yaml
Expand Down

0 comments on commit 690b0f6

Please sign in to comment.