Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
7dd7780f
"...llm/git@developer.sourcefind.cn:OpenDAS/dynamo.git" did not exist on "3f84cdadfa3fb50f0764023219ab7cad11275f74"
Commit
7dd7780f
authored
Dec 20, 2024
by
Meenakshi Sharma
Committed by
GitHub
Dec 20, 2024
Browse files
Create trigger_ci.yml
parents
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
.github/workflows/trigger_ci.yml
.github/workflows/trigger_ci.yml
+26
-0
No files found.
.github/workflows/trigger_ci.yml
0 → 100644
View file @
7dd7780f
on
:
push
:
branches
:
-
'
main'
-
'
r*'
pull_request
:
jobs
:
mirror_repo
:
environment
:
GITLAB
runs-on
:
self-hosted
steps
:
-
name
:
Sync Mirror Repository
run
:
|
#!/bin/bash
curl --request POST --header "PRIVATE-TOKEN:${{ secrets.TOKEN }}" "${{ secrets.MIRROR_URL }}"
trigger-ci
:
environment
:
GITLAB
needs
:
mirror_repo
runs-on
:
self-hosted
steps
:
-
name
:
Trigger Pipeline
run
:
|
#!/bin/bash
curl --fail --request POST \
--form token=${{ secrets.PIPELINE_TOKEN }} \
-F ref=${GITHUB_HEAD_REF} "${{ secrets.PIPELINE_URL }}"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment