Merge pull request #64 from Materials-Data-Science-and-Informatics/ad… #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |