Skip to content

Commit

Permalink
Merge pull request #748 from 0xPolygon/hosted/check_deployment_fixes
Browse files Browse the repository at this point in the history
Update if statement when the build should trigger
  • Loading branch information
sshrihar authored Sep 26, 2024
2 parents 0cbfef6 + 82dc7b9 commit b7ae47e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
type: string
description: "Cluster name for deployment"
default: "frontend-dev-ecs-cluster"
#

jobs:
build_and_deploy:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hosted-dev-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ on:

jobs:
deploy:
if: github.event_name != 'push' || startsWith(github.head_ref, 'hosted/')
if: github.event_name == 'push' || startsWith(github.head_ref, 'hosted/')
uses: ./.github/workflows/build_and_deploy.yml
secrets: inherit

0 comments on commit b7ae47e

Please sign in to comment.