Skip to content

Commit

Permalink
Allow workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Aug 8, 2024
1 parent fe6b781 commit e47b6a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ env:
TF_VAR_project: ${{ secrets.GCLOUD_PROJECT }}
jobs:
terraform:
if: github.event.pull_request.merged == true

if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true }}
name: Run Terraform Apply
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit e47b6a2

Please sign in to comment.