Skip to content

Commit

Permalink
run on all branches but only build (and deploy) on main
Browse files Browse the repository at this point in the history
  • Loading branch information
james-jdgtl committed Oct 17, 2024
1 parent 16b6081 commit 8ad5dd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Pipeline [test -> build -> deploy]
on:
push:
branches:
- main
# - '**'
- '**'

workflow_dispatch:
inputs:
Expand Down Expand Up @@ -66,6 +65,7 @@ jobs:
secrets: inherit
build:
name: Build docker image from hmpps-github-actions
if: github.ref == 'refs/heads/main'
uses: ministryofjustice/hmpps-github-actions/.github/workflows/docker_build.yml@v1 # WORKFLOW_VERSION
needs:
- kotlin_validate
Expand Down

0 comments on commit 8ad5dd8

Please sign in to comment.