File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 1313 - main
1414 paths :
1515 - ' docs/**'
16+ env :
17+ RTDS_ADS_PROJECT : https://readthedocs.org/api/v3/projects/accelerated-data-science
18+ RTDS_ADS_TOKEN : ${{ secrets.RTDS_ADS_TOKEN }}
1619
1720jobs :
1821 build-n-publish :
@@ -22,18 +25,12 @@ jobs:
2225 steps :
2326 - name : When PR ✅ merged - Trigger Readthedocs build
2427 if : github.event_name == 'pull_request_target' && github.event.pull_request.merged == true
25- env :
26- RTDS_ADS_PROJECT : https://readthedocs.org/api/v3/projects/accelerated-data-science
27- RTDS_ADS_TOKEN : ${{ secrets.RTDS_ADS_TOKEN }}
2828 run : |
2929 curl \
3030 -X POST \
3131 -H "Authorization: Token $RTDS_ADS_TOKEN" $RTDS_ADS_PROJECT/versions/latest/builds/
3232 - name : When tag 🏷️ pushed - Trigger Readthedocs build
3333 if : github.event_name == 'push' && startsWith(github.ref_name, 'v')
34- env :
35- RTDS_ADS_PROJECT : https://readthedocs.org/api/v3/projects/accelerated-data-science
36- RTDS_ADS_TOKEN : ${{ secrets.RTDS_ADS_TOKEN }}
3734 run : |
3835 curl \
3936 -X POST \
You can’t perform that action at this time.
0 commit comments