Skip to content

Commit

Permalink
Updated deployment scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
JackNeto committed Sep 2, 2019
1 parent 161bf2e commit 15b59b6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
12 changes: 9 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
"eject": "react-scripts eject",
"lint": "eslint src --ext '.js,.jsx' --config .eslintrc",
"lint:fix": "npm run lint --fix",
"deploy:staging": "npm run build && aws s3 sync build/ s3://entaxy-staging",
"deploy:production": "npm run build && aws s3 sync build/ s3://entaxy-production",
"deploy:test": "npm run build && aws s3 sync build/ s3://entaxy-test"
"deploy:test": "npm run build && aws s3 sync build/ s3://entaxy-test --delete",
"deploy:staging": "npm run build && aws s3 sync build/ s3://entaxy-staging --delete",
"deploy:production": "npm run build && aws s3 sync build/ s3://entaxy-production --delete",
"postdeploy:production": "aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_ID --paths '/*' "
},
"dependencies": {
"@material-ui/core": "^4.3.2",
Expand Down Expand Up @@ -132,4 +133,4 @@
}
}
}
}
}

0 comments on commit 15b59b6

Please sign in to comment.