Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 7513cfd

Browse files
committed
Merge branch 'feature/circleCi' into dev
2 parents 7db87d5 + d4d3d9c commit 7513cfd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

deploy.sh

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ configure_aws_cli() {
1515
}
1616

1717
deploy_s3bucket() {
18-
cat dist/app.2e9868372e0e2992d5d2.css
1918
aws s3 sync --dryrun ${HOME}/${CIRCLE_PROJECT_REPONAME}/dist s3://${AWS_S3_BUCKET} --cache-control max-age=0,s-maxage=86400 --exclude "*.txt" --exclude "*.js" --exclude "*.css"
2019
result=`aws s3 sync ${HOME}/${CIRCLE_PROJECT_REPONAME}/dist s3://${AWS_S3_BUCKET} --cache-control max-age=0,s-maxage=86400 --exclude "*.txt" --exclude "*.js" --exclude "*.css"`
2120
if [ $? -eq 0 ]; then

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require('./node_modules/coffee-script/register')
22

3-
const CI = process.env.TRAVIS_BRANCH
3+
const CI = process.env.CIRCLE_BRANCH
44

55
if (CI === 'master') {
66
process.env.ENV = 'PROD'

0 commit comments

Comments
 (0)