Skip to content

Commit

Permalink
fix(deploy): replace single quote by double in sed command
Browse files Browse the repository at this point in the history
travis repository setting variables are not taken into account if single quotes
  • Loading branch information
yassinedoghri committed May 12, 2018
1 parent ad4d8e9 commit fe8c47a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ cache:
- node_modules
before_install:
- mv src/config/index.js.dist src/config/index.js
- sed -i -e 's/YOUR_PUBLIC_API_KEY/$MARVEL_API_PUBLIC_KEY/' src/config/index.js
- sed -i -e 's/YOUR_PRIVATE_API_KEY/$MARVEL_API_PRIVATE_KEY/' src/config/index.js
- sed -i -e 's/UA-0000000-0/$GOOGLE_TRACKING_ID/' src/config/index.js
- sed -i -e "s/YOUR_PUBLIC_API_KEY/$MARVEL_API_PUBLIC_KEY/" src/config/index.js
- sed -i -e "s/YOUR_PRIVATE_API_KEY/$MARVEL_API_PRIVATE_KEY/" src/config/index.js
- sed -i -e "s/UA-0000000-0/$GOOGLE_TRACKING_ID/" src/config/index.js
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
Expand Down

0 comments on commit fe8c47a

Please sign in to comment.