Skip to content

Instantly share code, notes, and snippets.

@kellyrmilligan
Created June 8, 2017 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kellyrmilligan/bf42abedf9314e3ad187221f3b45e34c to your computer and use it in GitHub Desktop.
Save kellyrmilligan/bf42abedf9314e3ad187221f3b45e34c to your computer and use it in GitHub Desktop.
circle config file example for calling shell script from deployment section
deployment:
prod:
branch: master
commands:
- NODE_ENV=production yarn run build
- ./bin/s3Sync.sh [s3 bucket name]
staging:
branch: staging
commands:
- NODE_ENV=staging yarn run build
- ./bin/s3Sync.sh [s3 bucket name]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment