Skip to content

Commit

Permalink
Update trigger_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nvda-mesharma authored Jul 17, 2024
1 parent 5a58b3d commit 95834db
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/trigger_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@ jobs:
environment: GITLAB
runs-on: self-hosted
steps:
- name: step1
- 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 }}"

0 comments on commit 95834db

Please sign in to comment.