Skip to content

Commit

Permalink
rearrange folder placement (#78)
Browse files Browse the repository at this point in the history
PR updates the upload script to place directories in this manner:
(example)
`s3://rapidsai-docs/${PROJECT}/${FORMAT}/${RAPIDS_VERSION_NUMBER}`

as opposed to the former arrangement:

`s3://rapidsai-docs/${PROJECT}/${RAPIDS_VERSION_NUMBER}/${FORMAT}`

PROJECT - `cudf`, `rmm`, etc
FORMAT - `html`, `txt`
RAPIDS_VERSION_NUMBER - `23.10`, `23.12`, etc
  • Loading branch information
AyodeAwe authored Sep 26, 2023
1 parent c647c23 commit 7d978de
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tools/rapids-upload-docs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ checks() {
exit 1
fi

if [[ "${RAPIDS_BUILD_TYPE}" != "pull-request" ]]; then
echo "DOCS UPLOADS FOR BRANCH/NIGHTLIES HAVE BEEN TEMPORARILY HALTED"
exit 0
fi

if [[ "${GITHUB_ACTIONS:-false}" != "true" ]]; then
echo "Uploading docs from local builds is not supported."
echo "The docs are in ${RAPIDS_DOCS_DIR}."
Expand All @@ -49,7 +44,7 @@ get_s3_dest() {
return
;;
branch|nightly)
echo -n "s3://rapidsai-docs/${PROJECT}/${RAPIDS_VERSION_NUMBER}/${FORMAT}"
echo -n "s3://rapidsai-docs/${PROJECT}/${FORMAT}/${RAPIDS_VERSION_NUMBER}"
return
;;
*)
Expand Down

0 comments on commit 7d978de

Please sign in to comment.