Skip to content

Commit 6213de4

Browse files
committed
Update ci_pipeline.yml
1 parent a3a60d9 commit 6213de4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci_pipeline.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,32 @@ on:
88

99
jobs:
1010

11+
trigger:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
18+
- name: Zip
19+
run: |
20+
ls -artl
21+
zip pySDC
22+
ls -artl
23+
24+
- uses: actions/upload-artifact@v3
25+
with:
26+
name: pySDC
27+
path: pySDC.zip
28+
29+
- name: trigger Gitlab CI
30+
run: |
31+
curl --request POST \
32+
--form token=${{ secrets.GITLAB_TRIGGER_TOKEN }} \
33+
--form ref=main \
34+
--form "variables[TEST]=true" \
35+
"https://gitlab.hzdr.de/api/v4/projects/6200/trigger/pipeline"
36+
1137
lint:
1238
runs-on: ubuntu-latest
1339

0 commit comments

Comments
 (0)