Skip to content

Commit

Permalink
Merge pull request #74 from aws-ia/docs
Browse files Browse the repository at this point in the history
change publication to aws-abi bucket and some cleanup in publication …
  • Loading branch information
kkvinjam authored Oct 3, 2023
2 parents 4089d9c + 1abb406 commit 2e06aa8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 29 deletions.
6 changes: 0 additions & 6 deletions .project_automation/publication/Dockerfile.rej

This file was deleted.

8 changes: 4 additions & 4 deletions .project_automation/publication/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ REPO_NAME=$(git config --get remote.origin.url | cut -d '/' -f5 | cut -d '.' -f1
VERSION=$(cat VERSION)

BASE_URL="this would be the path to s3 bucket/${REPO_NAME}/"
S3_URI="s3://aws-abi-pilot/guide/${REPO_NAME}/"
S3_URI="s3://aws-abi/guide/${REPO_NAME}/"

print_header() {
printf "\n\n%s\n" "$*"
Expand All @@ -36,13 +36,13 @@ printf "\nPublished at ${BASE_URL}\n"

cd ${PROJECT_PATH}

taskcat upload --bucket-name aws-abi-pilot --object-acl public-read
taskcat upload --bucket-name aws-abi --object-acl public-read

# cd ${PROJECT_PATH}/guide
# hugo
# aws s3 cp --recursive public s3://aws-abi-pilot/docs-preview/ --acl public-read
# aws s3 cp --recursive public s3://aws-abi/docs-preview/ --acl public-read
#
# echo "docs published here: s3://aws-abi-pilot/docs-preview/"
# echo "docs published here: s3://aws-abi/docs-preview/"
#
# if [ -n "${BASE_PATH}" ]
# then
Expand Down
19 changes: 0 additions & 19 deletions .project_automation/publication/entrypoint.sh.save

This file was deleted.

0 comments on commit 2e06aa8

Please sign in to comment.