File tree Expand file tree Collapse file tree 2 files changed +5
-25
lines changed
Expand file tree Collapse file tree 2 files changed +5
-25
lines changed Original file line number Diff line number Diff line change 3333
3434 -
3535 name : Trigger workflow
36+ env :
37+ GH_TOKEN : ${{ secrets.TRIGGER_WORKFLOW_TOKEN }}
3638 run : |
3739 gh workflow run release.yml -R jolicode/redirection.io -f environment=production -f package=module-nginx -f channel=beta -f version=$VERSION -f version_directory=$MAJOR_VERSION -f build_iteration=1 -f module_image=$DISTRIBUTION
38- -
39- name : Trigger Circle CI API
40- env :
41- CIRCLE_API_TOKEN : ${{ secrets.CIRCLE_API_TOKEN }}
42- DISTRIBUTION : ${{ matrix.distribution }}
43- run : >
44- curl --request POST
45- --url https://circleci.com/api/v2/project/github/jolicode/redirection.io/pipeline
46- --header "Circle-Token: $CIRCLE_API_TOKEN"
47- --header "Content-Type: application/json"
48- --data "
49- {
50- \"branch\":\"master\",
51- \"parameters\": {
52- \"run_main\":false,
53- \"run_php_sdk\": false,
54- \"run_lint\": false,
55- \"release_env\": \"production\",
56- \"release_channel\": \"beta\",
57- \"release_main_version_dir\": \"$MAJOR_VERSION\",
58- \"release_nginx_module_version\": \"$VERSION\",
59- \"release_distribution\": \"$DISTRIBUTION\"
60- }
61- }
62- "
40+
Original file line number Diff line number Diff line change 3333
3434 -
3535 name : Trigger workflow
36+ env :
37+ GH_TOKEN : ${{ secrets.TRIGGER_WORKFLOW_TOKEN }}
3638 run : |
3739 gh workflow run release.yml -R jolicode/redirection.io -f environment=production -f package=module-nginx -f channel=stable -f version=$VERSION -f version_directory=$MAJOR_VERSION -f build_iteration=1 -f module_image=$DISTRIBUTION
You can’t perform that action at this time.
0 commit comments