-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (37 loc) · 989 Bytes
/
gitlab.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Trigger Gitlab Pipeline
on:
push:
branches:
- main
paths:
- "exact_kmeans/**"
- "tests/**"
- "config/**"
- "poetry.lock"
pull_request:
paths:
- "exact_kmeans/**"
- "tests/**"
- "config/**"
- "poetry.lock"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: Trigger GitLab Pipeline
runs-on: ubuntu-latest
steps:
- name: Trigger Job
uses: digital-blueprint/gitlab-pipeline-trigger-action@v1
with:
host: 'gitlab.cs.uni-duesseldorf.de'
trigger_token: ${{ secrets.DEPLOY_TRIGGER_TOKEN }}
access_token: ${{ secrets.DEPLOY_ACCESS_TOKEN }}
id: '3102'
ref: 'main'
variables: |
{
"PROJECT": "exact-kmeans",
"GIT_HASH": "${{ github.event.pull_request.head.sha || github.sha }}",
"PIPELINES": "ubuntu"
}