Skip to content

Commit

Permalink
update nmc-trigger-gitlab-image-build workflow #3
Browse files Browse the repository at this point in the history
  • Loading branch information
rhtot committed Aug 30, 2023
1 parent 339e009 commit 114ca20
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/nmc-trigger-gitlab-image-build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Trigger GitLab Image Pipeline

on:
schedule:
- cron: "0 15 * * *"

workflow_run:
workflows: ["MCLOUD custom server release"]
types:
- completed
workflow_dispatch: # Manual trigger option
workflow_dispatch: # manual

jobs:
trigger-pipeline:
Expand All @@ -18,6 +21,6 @@ jobs:
run: |
curl -X POST \
--fail \
-F token=$GITLAB_IMAGE_TRIGGER_TOKEN \
-F token=$GITLAB_TOKEN \
-F ref=master \
https://gitlab.devops.telekom.de/api/v4/projects/37742/trigger/pipeline

0 comments on commit 114ca20

Please sign in to comment.