Skip to content

Commit 29d74c9

Browse files
authored
CI: trigger circleci job on readthedocs-ext on merge (#10433)
Same as we do with readthedocs-corporate, there was a bug that could have been caught with this. Also, don't think we need to hide the repo and job name, we have linked to those repos from public places already.
1 parent fe22c00 commit 29d74c9

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/main.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,20 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- name: Trigger tests in corporate
19+
- name: Trigger tests in readthedocs-corporate
2020
run: |
2121
curl --request POST \
2222
--silent --output /dev/null \
23-
--url https://circleci.com/api/v2/project/gh/${{ secrets.CORPORATE_REPO }}/pipeline \
23+
--url https://circleci.com/api/v2/project/gh/readthedocs/readthedocs-corporate/pipeline \
2424
--user '${{ secrets.CIRCLECI_USER_TOKEN }}:' \
2525
--header 'content-type: application/json' \
26-
--data '{"branch": "main", "parameters":{"CIRCLE_JOB": "${{ secrets.CIRCLECI_JOB }}"}}'
26+
--data '{"branch": "main", "parameters":{"CIRCLE_JOB": "tests"}}'
27+
28+
- name: Trigger tests in readthedocs-ext
29+
run: |
30+
curl --request POST \
31+
--silent --output /dev/null \
32+
--url https:/circleci.com/api/v2/project/gh/readthedocs/readthedocs-ext/pipeline \
33+
--user '${{ secrets.CIRCLECI_USER_TOKEN }}:' \
34+
--header 'content-type: application/json' \
35+
--data '{"branch": "main", "parameters":{"CIRCLE_JOB": "tests"}}'

0 commit comments

Comments
 (0)