Skip to content

Commit 328b9b5

Browse files
authored
Merge pull request #64 from Materials-Data-Science-and-Informatics/add_ci_for_fe
Add ci for fe
2 parents b8f5574 + 2107dc1 commit 328b9b5

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Trigger GitLab CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
trigger_gitlab_ci:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Trigger GitLab CI for Dev
14+
env:
15+
GITLAB_TRIGGER_URL_DEV: https://codebase.helmholtz.cloud/api/v4/projects/12722/ref/develop/trigger/pipeline
16+
GITLAB_TOKEN: ${{ secrets.GITLAB_TRIGGER_TOKEN }}
17+
run: |
18+
curl -X POST "$GITLAB_TRIGGER_URL_DEV" \
19+
-F token="$GITLAB_TOKEN" \
20+
-F ref=develop

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

0 commit comments

Comments
 (0)