From cbf1be0fb298698eab9d05ff6e3d72157a580583 Mon Sep 17 00:00:00 2001 From: Marcel Ebert Date: Mon, 11 Nov 2024 10:45:21 +0100 Subject: [PATCH] Create autodeploy.yaml --- .github/workflows/autodeploy.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/autodeploy.yaml diff --git a/.github/workflows/autodeploy.yaml b/.github/workflows/autodeploy.yaml new file mode 100644 index 0000000..8ee8790 --- /dev/null +++ b/.github/workflows/autodeploy.yaml @@ -0,0 +1,16 @@ +name: Gitlab Pipeline Executor +run-name: Gitlab Pipeline Executor +on: + push: + branches: + - main +jobs: + Execute-Gitlab-Pipeline: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Triggers Gitlab Pipeline + run: | + ls ${{ github.workspace }} + curl -X POST -F token=${{ github.GITLAB_TRIGGER }} -F "ref=development" -F "variables[RESET]=N" https://gitlab.com/api/v4/projects/${{ secrets.PROJECT_ID }}/trigger/pipeline