From 9b730420f610489b57ac3f8d47869f6fc982f3e3 Mon Sep 17 00:00:00 2001 From: Illia Shestakov Date: Tue, 29 Aug 2023 11:00:18 +0300 Subject: [PATCH] Trigger pipeline in gitlab repo for every commit in community-theme.palm --- .github/workflows/commmunity-theme-tutor.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/commmunity-theme-tutor.yml diff --git a/.github/workflows/commmunity-theme-tutor.yml b/.github/workflows/commmunity-theme-tutor.yml new file mode 100644 index 0000000..bafc490 --- /dev/null +++ b/.github/workflows/commmunity-theme-tutor.yml @@ -0,0 +1,15 @@ +name: Build and deploy tutor +on: + push: + branches: [ "community-theme.palm" ] + +jobs: + deploy: + permissions: + actions: write + runs-on: ubuntu-latest + + steps: + - name: Trigger community-theme-tutor pipeline + run: | + curl --request POST --form token=${{ secrets.GITLAB_PIPELINE_TOKEN }} --form ref=main https://gitlab.com/api/v4/projects/48712583/trigger/pipeline