Skip to content

Commit

Permalink
Merge pull request OHIF#34 from ImagingDataCommons/wjrl-dev
Browse files Browse the repository at this point in the history
guarantee directory existence
  • Loading branch information
wlongabaugh authored Nov 28, 2020
2 parents 3a3c1af + cfcb8fe commit 7db0c2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ jobs:
- run:
name: Copy to cloud
command: |
mkdir -p /home/circleci/.config
mkdir -p /home/circleci/.gsutil
sudo chown -R circleci /home/circleci/.config /home/circleci/.gsutil
sudo chgrp -R circleci /home/circleci/.config /home/circleci/.gsutil
pushd ~/Viewers/platform/viewer/dist/ > /dev/null
gsutil web set -m index.html -e index.html gs://${WBUCKET}
gsutil -h "Cache-Control:no-cache, max-age=0" rsync -d -r . gs://${WBUCKET}
Expand Down
2 changes: 0 additions & 2 deletions idc-deploy-shell/gcloud_authenticate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ gcloud config list
echo "Setting deployment project to ${DEPLOYMENT_PROJECT_ID}"
gcloud config set project "$DEPLOYMENT_PROJECT_ID"

sudo chown -R circleci /home/circleci/.config /home/circleci/.gsutil
sudo chgrp -R circleci /home/circleci/.config /home/circleci/.gsutil

0 comments on commit 7db0c2b

Please sign in to comment.