Skip to content

Commit 3a54291

Browse files
authored
Update openMINDS_upstream.yml
1 parent 05fb7e6 commit 3a54291

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
+5-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: openMINDS_upstream
22

3-
on: push
4-
3+
on:
4+
- push
5+
- workflow_dispatch
6+
57
jobs:
68
build:
79
runs-on: ubuntu-latest
810
steps:
911
- name: Trigger central repository
1012
run: |
11-
curl -XPOST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/HumanBrainProject/openMINDS/actions/workflows/build.yml/dispatches --data '{"ref": "main"}'
13+
curl -XPOST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/openMetadataInitiative/openMINDS/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline", "inputs": {"branch": "${{github.ref_name}}", "repository": "${{ github.repository }}"}'

0 commit comments

Comments
 (0)