Skip to content

Commit

Permalink
chore: Migrate gsutil to gcloud storage
Browse files Browse the repository at this point in the history
  • Loading branch information
vEnhance committed Oct 17, 2024
1 parent bc0c5b3 commit e2d3718
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sync_static
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@

# If you aren't Evan, replace the bucket name...
python manage.py collectstatic --noinput
gsutil -m rsync -R static/ gs://otisweb-static/static

# gsutil cors set cors.json gs://otisweb-static/
# gsutil -m setmeta -R -h 'Cache-Control:private, max-age=0, no-transform' gs://otisweb-static/static/*
gcloud storage rsync --recursive static/ gs://otisweb-static/static

0 comments on commit e2d3718

Please sign in to comment.