.github: Add cpp_docs job to current gcc5 workflow (#64044)
authorEli Uriegas <eliuriegas@fb.com>
Fri, 27 Aug 2021 23:02:49 +0000 (16:02 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 27 Aug 2021 23:06:12 +0000 (16:06 -0700)
commit3abbcf079d38d468a45073b13cb13627c9c0f367
tree47edf15d1f087691e1c888d249befae4f906b64e
parent6ccb74b837535f8f5e7a687ee1a17fea52972ab3
.github: Add cpp_docs job to current gcc5 workflow (#64044)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64044

Adds the cpp_docs job to the current workflow, also modifies the scripts
surrounding building docs so that they can be powered through
environment variables with sane defaults rather than having to have
passed arguments.

Ideally should not break current jobs running in circleci but those
should eventually be turned off anyways.

Coincides with work from:
* https://github.com/seemethere/upload-artifact-s3/pull/1
* https://github.com/seemethere/upload-artifact-s3/pull/2

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
cc ezyang seemethere malfet walterddr lg20987 pytorch/pytorch-dev-infra

Test Plan: Imported from OSS

Reviewed By: malfet

Differential Revision: D30610010

Pulled By: seemethere

fbshipit-source-id: f67adeb1bd422bb9e24e0f1ec0098cf9c648f283
.circleci/scripts/cpp_doc_push_script.sh
.circleci/scripts/python_doc_push_script.sh
.github/templates/linux_ci_workflow.yml.j2
.github/workflows/generated-linux-xenial-py3.6-gcc5.4.yml