From 738d9d5019f890bf230af56fb106ccbbfadec6a3 Mon Sep 17 00:00:00 2001 From: Jan Terje Egeland Date: Thu, 1 Feb 2024 17:55:25 +0100 Subject: [PATCH] Trigger import workflow --- .github/workflows/trigger-backened-build.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/trigger-backened-build.yaml diff --git a/.github/workflows/trigger-backened-build.yaml b/.github/workflows/trigger-backened-build.yaml new file mode 100644 index 0000000..0350176 --- /dev/null +++ b/.github/workflows/trigger-backened-build.yaml @@ -0,0 +1,23 @@ +name: Trigger import workflow + +on: + workflow_dispatch: + push: + branches: + - main + - master + +jobs: + trigger-workflow: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v6 + with: + github-token: ${{ secrets.cicd }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'novorender', + repo: 'novorender-backend', + workflow_id: 'import.yml', + ref: 'master' + }) \ No newline at end of file