Skip to content

Commit

Permalink
add trigger with current branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasoylu committed Nov 15, 2024
1 parent b8f5574 commit db6f976
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/gitlab-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Trigger GitLab CI

on:
push:
branches:
- main
- add_ci_for_fe

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

0 comments on commit db6f976

Please sign in to comment.