diff --git a/.github/workflows/platform_build_and_deploy.yaml b/.github/workflows/platform_build_and_deploy.yaml index 64b4b6e51..06beca527 100644 --- a/.github/workflows/platform_build_and_deploy.yaml +++ b/.github/workflows/platform_build_and_deploy.yaml @@ -66,7 +66,6 @@ jobs: working-directory: app - uses: nais/docker-build-push@v0 - if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' id: gar-push with: team: fager @@ -78,7 +77,7 @@ jobs: byosbom: app/target/bom.json deploy: - if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') + if: github.ref == 'refs/heads/main' needs: [build] runs-on: ubuntu-latest permissions: