diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index e6f7d5ca..8a2be305 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -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 diff --git a/.github/workflows/hosted-dev-deployment.yml b/.github/workflows/hosted-dev-deployment.yml index 3c4edcc8..1bd29f88 100644 --- a/.github/workflows/hosted-dev-deployment.yml +++ b/.github/workflows/hosted-dev-deployment.yml @@ -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 \ No newline at end of file