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