Skip to content

Commit

Permalink
Merge pull request #1050 from isb-cgc/isb-cgc-prod-sp
Browse files Browse the repository at this point in the history
-> Fix prod bucket
  • Loading branch information
s-paquette authored Jul 31, 2018
2 parents 30ecadf + dac7e81 commit 837f44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/unpack_for_deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ STATIC_LAST_COMMIT=$(git rev-list -1 HEAD -- "static")

if [ ! -f "${STATIC_COMMIT_CHECK_FILE}" ] || [ ${STATIC_LAST_COMMIT} != $(cat "${STATIC_COMMIT_CHECK_FILE}") ]; then
echo "Beginning rsync of /static..."
./google-cloud-sdk/bin/gsutil rsync -R static/ gs://webapp-dev-static-files/static
./google-cloud-sdk/bin/gsutil rsync -R static/ gs://webapp-prod-static-files/static
git rev-list -1 HEAD -- "static" > "${STATIC_COMMIT_CHECK_FILE}"
./google-cloud-sdk/bin/gsutil cp "${STATIC_COMMIT_CHECK_FILE}" gs://${GCLOUD_BUCKET}/
else
Expand Down

0 comments on commit 837f44d

Please sign in to comment.