summaryrefslogtreecommitdiff
path: root/tools/ci/push_docs_to_repo.py
Commit message (Collapse)AuthorAgeFilesLines
* DOC: fail the CI build and do not deploy if docs are not created (#23065)Matti Picus2023-01-221-0/+7
| | | | Adds protection against deploying empty docs when sphinx build fails in circleCI.
* MAINT: Fix typos found by codespellDimitri Papadopoulos2022-10-071-1/+1
|
* CI: Do not pass original branch name to `git branch -m main`Sebastian Berg2021-03-071-1/+3
| | | | | | | | | | | Should fix the current failure that "master" does not exist. I am a bit curious why master does not exist, maybe the CircleCI git is set up to use some other default. Move the branch rename to after the commit, to make sure that the fact that the branch is empty (and `git branch` also) cannot influence the result. [ci-skip]
* CI: Use `git branch -m` instead of `--initial-branch=main`Sebastian Berg2021-03-071-1/+2
| | | | | | It seems the git in the CircleCI environment does not have the `--initial-branch` option that my local git has, hopefully `git branch -m` works fine.
* CI: Ensure that doc-build uses "main" as branch nameSebastian Berg2021-03-071-1/+1
| | | | | | | | The default of git is still "master", so we need to set `--initial-branch=main` to ensure that we use the name `main` that is used in the devdoc repository. Closes gh-18568
* MAINT: Update master to main after branch rename (gh-18544)Stefan van der Walt2021-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Upload docs to main branch of neps/devdocs * Update `master` to `main` to be consistent with current state of renaming * Remove badges from README * Replace remaining instances of `master` with `main` * Add back logo * Fix CircleCI branch checks * Fix GA branch name * master->main in issue templates. * master->main for 2 links to numpy archive. * Change master to main in NEP 23 Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* convert shebang from python to python3 (#15687)Changqing Li2020-03-041-1/+1
| | | | Signed-off-by: Changqing Li <changqing.li@windriver.com>
* TST, DOC: Upload devdocs and neps after circleci build (#10702)Stefan van der Walt2018-03-161-0/+65
* Upload devdocs and neps after build * Install numpydoc * Fix masked array documentation injection `doc_note` appends a `Notes` section to docstrings, which may lead to duplicate sections. * Add deploy key for neps repo Note that we have to explicitly reset the ~/.ssh/config to only leave one SSH key * Only deploy on master branch * Blow away previous dev docs after each upload * Add tool to upload files to remote repo * Remove numpydoc from pip install; it is included as a submodule * Avoid using invalid escape code * Rename repo upload tool * Use check_call to simplify doc pushing tool