From c35b2886a56554315f81725dc96c24ab41e4ccab Mon Sep 17 00:00:00 2001 From: Florent Baldino Date: Wed, 25 Sep 2024 11:36:57 +0200 Subject: [PATCH] Upgrade the Strapi demos image when pushing on main --- .github/workflows/deploy-demo.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/deploy-demo.yaml diff --git a/.github/workflows/deploy-demo.yaml b/.github/workflows/deploy-demo.yaml new file mode 100644 index 0000000..19cf068 --- /dev/null +++ b/.github/workflows/deploy-demo.yaml @@ -0,0 +1,21 @@ +name: Deploy LaunchPad images for the Strapi demos + +on: + workflow_dispatch: + push: + branches: + - main + +jobs: + trigger-build-on-gitlab: + name: Trigger GitLab Pipeline + runs-on: ubuntu-latest + steps: + - name: GitLab Pipeline Trigger + uses: digital-blueprint/gitlab-pipeline-trigger-action@v1.2.0 + with: + trigger_token: ${{ secrets.GITLAB_TRIGGER_TOKEN }} + access_token: ${{ secrets.GITLAB_API_TOKEN }} + id: '21258300' + ref: 'master' + variables: '{ "BUILD_LAUNCHPAD_IMAGES":"true" }'