Skip to content

Instantly share code, notes, and snippets.

@paulycloud
Created January 13, 2019 16:30
Show Gist options
  • Save paulycloud/4cdb035072fa668d124733062c0a342a to your computer and use it in GitHub Desktop.
Save paulycloud/4cdb035072fa668d124733062c0a342a to your computer and use it in GitHub Desktop.
image: cgswong/aws
pipelines:
branches:
master:
- step:
script:
- aws s3 --region "us-east-1" sync public/ s3://mysite.com --cache-control "public, max-age=14400" --delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment