Skip to content

Commit

Permalink
Update cd-tag-release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
blue-hope committed Jan 16, 2024
1 parent 92acd8d commit c2ae3b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cd-tag-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
return ("${{ inputs.env }}" == "prod" && context.ref == "refs/heads/main") || ("${{ inputs.env }}" == "dev" && context.ref == "refs/heads/develop")
case "frontend":
return context.ref == "refs/heads/main"
case "devops":
return context.ref == "refs/heads/master"
}
return false
}
Expand Down

0 comments on commit c2ae3b7

Please sign in to comment.