Deprecation: remove code for config file v1 and default config file (… #2293
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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":{"CIRCLE_JOB": "tests"}}' | |
- 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":{"CIRCLE_JOB": "tests"}}' |