Skip to content

Commit

Permalink
Fix image permissions when pulling production media
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Apr 2, 2024
1 parent 41fcabf commit 32ee2f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ def pull_production_data(c):
def pull_production_media(c):
"""Pull all media from the production platform.sh env"""
pull_media_from_platform(c, PRODUCTION_APP_INSTANCE)
subprocess.run(["docker-compose", "exec", "cli", "chmod", "-fR", "777", "media"])


# -----------------------------------------------------------------------------
Expand Down

0 comments on commit 32ee2f6

Please sign in to comment.