Skip to content

Commit

Permalink
added if statement so that workflow can run from dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Haaaaron committed Jan 29, 2025
1 parent e11a762 commit 9aa6f73
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/generate-singularity-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ on:
inputs:
build:
description: 'Build the singularity container'
required: true
default: 'false'

jobs:
build_release:
if: "contains(github.event.head_commit.message, 'GENERATE SINGULARITY')"
if: "github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, 'GENERATE SINGULARITY')"
name: build_nightly_release
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 9aa6f73

Please sign in to comment.