Skip to content

Commit

Permalink
Merge pull request #8200 from alphagov/bulk/add-release-versions
Browse files Browse the repository at this point in the history
Remove default gitRef for deploy workflow
  • Loading branch information
theseanything authored Sep 1, 2023
2 parents 1538148 + 4f17f1e commit 3ff7a6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
description: 'Commit, tag or branch name to deploy'
required: true
type: string
default: 'main'
environment:
description: 'Environment to deploy to'
required: true
Expand All @@ -24,7 +23,7 @@ on:

jobs:
build-and-publish-image:
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref_name, 'v')
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref_name, 'v')
name: Build and publish image
uses: alphagov/govuk-infrastructure/.github/workflows/build-and-push-image.yml@main
with:
Expand Down

0 comments on commit 3ff7a6c

Please sign in to comment.