Skip to content

Commit

Permalink
handle case when triggered event is new tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
neel-astro committed Oct 28, 2024
1 parent 0d49564 commit 96b0391
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ runs:
DBT_DEPLOY=false
# case when the triggered event is a new branch or tag creation, then we would need to deploy the dbt project to be on the safe side
# case when the triggered event is a new tag creation, then we would need to deploy the dbt project to be on the safe side
if [[ "${{ github.event.before }}" == "0000000000000000000000000000000000000000" ]]
then
DBT_DEPLOY=true
Expand Down Expand Up @@ -364,7 +364,7 @@ runs:
DAGS_ONLY_DEPLOY=false
SKIP_IMAGE_OR_DAGS_DEPLOY=true
# case when the triggered event is a new branch or tag creation, then we would need to deploy the image to be on the safe side
# case when the triggered event is a new tag creation, then we would need to deploy the image to be on the safe side
if [[ "${{ github.event.before }}" == "0000000000000000000000000000000000000000" ]]
then
DAGS_ONLY_DEPLOY=false
Expand Down

0 comments on commit 96b0391

Please sign in to comment.