diff --git a/.github/workflows/gitlab-trigger.yml b/.github/workflows/gitlab-trigger.yml new file mode 100644 index 0000000..3aacd26 --- /dev/null +++ b/.github/workflows/gitlab-trigger.yml @@ -0,0 +1,20 @@ +name: Trigger GitLab CI + +on: + push: + branches: + - main + +jobs: + trigger_gitlab_ci: + runs-on: ubuntu-latest + + steps: + - name: Trigger GitLab CI for Dev + env: + GITLAB_TRIGGER_URL_DEV: https://codebase.helmholtz.cloud/api/v4/projects/12722/ref/develop/trigger/pipeline + GITLAB_TOKEN: ${{ secrets.GITLAB_TRIGGER_TOKEN }} + run: | + curl -X POST "$GITLAB_TRIGGER_URL_DEV" \ + -F token="$GITLAB_TOKEN" \ + -F ref=develop diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea