-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
35 lines (29 loc) · 978 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
push:
branches:
- main
permissions:
contents: read
jobs:
build:
permissions:
contents: none
runs-on: ubuntu-latest
steps:
- name: Trigger tests in readthedocs-corporate
run: |
curl --request POST \
--silent --output /dev/null \
--url https://circleci.com/api/v2/project/gh/readthedocs/readthedocs-corporate/pipeline \
--user '${{ secrets.CIRCLECI_USER_TOKEN }}:' \
--header 'content-type: application/json' \
--data '{"branch": "main", "parameters":{"tests_only": true}}'
- name: Trigger tests in readthedocs-ext
run: |
curl --request POST \
--silent --output /dev/null \
--url https:/circleci.com/api/v2/project/gh/readthedocs/readthedocs-ext/pipeline \
--user '${{ secrets.CIRCLECI_USER_TOKEN }}:' \
--header 'content-type: application/json' \
--data '{"branch": "main", "parameters":{"tests_only": true}}'