Skip to content

Commit

Permalink
fix: deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuki-joto committed Nov 14, 2023
1 parent 690b0f6 commit 1c7ba82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:

create-deploy-env:
runs-on: ubuntu-latest
needs:
- release
outputs:
deploy-env: ${{ steps.output-deploy-env.outputs.deploy-env }}

Expand Down Expand Up @@ -54,6 +56,7 @@ jobs:
aws-ecr-repo-name: ${{ secrets.AWS_ECR_REPO_NAME }}

stg:
if: ${{ !needs.release.outputs.created }}
needs:
- create-deploy-env
- release
Expand All @@ -68,8 +71,8 @@ jobs:
if: ${{ needs.release.outputs.created }}
needs:
- create-deploy-env
- build
- release
- stg
uses: ./.github/workflows/_deploy.yaml
with:
image-tag: ${{ needs.release.outputs.tag_name }}
Expand Down

0 comments on commit 1c7ba82

Please sign in to comment.