Skip to content

Instantly share code, notes, and snippets.

@pdeva
Created June 27, 2018 19:54
Show Gist options
  • Save pdeva/43609e46b65aa70d5ba3a0e20ad065d7 to your computer and use it in GitHub Desktop.
Save pdeva/43609e46b65aa70d5ba3a0e20ad065d7 to your computer and use it in GitHub Desktop.
pipelines:
default:
- step:
name: deploy to dev
script:
# We are now actually deploying our dev branch to prod!!
- export AWS_ACCESS_KEY_ID="$PROD_AWS_ACCESS_KEY_ID"
- export AWS_SECRET_ACCESS_KEY="$PROD_AWS_ACCESS_KEY_SECRET"
- aws s3 sync --delete _site s3://$PROD_S3_BUCKET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment