Skip to content

Commit

Permalink
Update platform_build_and_deploy.yaml
Browse files Browse the repository at this point in the history
Fjern sjekk på at github.event er "push" eller "workflow-dispatch"
  • Loading branch information
anderslysne authored Feb 17, 2025
1 parent 27a946b commit 179ad2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/platform_build_and_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 179ad2a

Please sign in to comment.