From 7620f22cf9f183a0f39095c3ede518d40f3ffe64 Mon Sep 17 00:00:00 2001 From: Jeff Matthews Date: Mon, 4 Aug 2025 12:13:03 -0500 Subject: [PATCH] feat: changed trigger to workflow dispatch --- .github/workflows/stage.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 619a7a74..669279b7 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -1,13 +1,18 @@ --- name: Staging deployment on: - # Trigger the workflow on each push to develop - push: - branches: - - develop + workflow_dispatch: + inputs: + clean: + description: 'Clean cache' + required: true + default: 'yes' + excludeSubfolder: + description: 'Exclude subfolder' + required: false + default: '' jobs: set-state: - if: ${{ github.ref == 'refs/heads/develop' }} runs-on: ubuntu-latest outputs: clean_cache: ${{ contains(github.event.inputs.clean, 'yes') }}