From b30f02af0840aaffdb431e20478da25a1b485cf4 Mon Sep 17 00:00:00 2001 From: marioseixas Date: Thu, 19 Sep 2024 19:59:09 -0300 Subject: [PATCH] Create trigger-workflow.yml --- .github/workflows/trigger-workflow.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/trigger-workflow.yml diff --git a/.github/workflows/trigger-workflow.yml b/.github/workflows/trigger-workflow.yml new file mode 100644 index 00000000..cc070df3 --- /dev/null +++ b/.github/workflows/trigger-workflow.yml @@ -0,0 +1,21 @@ +name: Trigger Workflow + +on: + workflow_dispatch: + inputs: + run_workflow: + description: 'Trigger the Jekyll Workflow' + required: true + default: 'yes' + +jobs: + trigger_jekyll: + runs-on: ubuntu-latest + steps: + - name: Trigger Jekyll Workflow + uses: peter-evans/workflow-dispatch@v1 + with: + token: ${{ secrets.GH_PAT }} + repository: ${{ github.repository }} + workflow: jekyll.yml + ref: main