diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2ec21576..8e583d85 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -105,7 +105,7 @@ jobs: publish_rcps: # Only publish on push (to maintenance or master) or on dispatch if requested - if: ${{ github.event_name == 'workflow_dispatch' && inputs.publish_rcp == 'true' }} + if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.publish_rcp == 'true' }} runs-on: ubuntu-latest steps: