Skip to content

Commit

Permalink
Update website deploy key
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Oct 16, 2019
1 parent 514b536 commit a05f50a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ lerna-debug.log
/packages/*/esm/
/packages/*/umd/
/website/build/

/website-deploy-key
/website-deploy-key.pub
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
script: echo "Deploying website to https://reacttraining.com$PUBLIC_PATH"
before_deploy:
- openssl aes-256-cbc -K $encrypted_70c5e56b421c_key -iv $encrypted_70c5e56b421c_iv
-in website_deploy_key.enc -out website_deploy_key -d
- chmod 600 website_deploy_key
-in website-deploy-key.enc -out website-deploy-key -d
- chmod 600 website-deploy-key
- eval $(ssh-agent -s)
- ssh-add website_deploy_key
- ssh-add website-deploy-key
deploy:
provider: script
script: bash scripts/deploy-website.sh
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"build": "node ./scripts/build.js",
"clean": "git clean -fdX .",
"clean": "git clean -e '!/website-deploy-key' -e '!/website-deploy-key.pub' -fdX .",
"start": "node ./scripts/start.js",
"test": "jest --projects ./packages/*/"
},
Expand Down
Binary file added website-deploy-key.enc
Binary file not shown.
Binary file removed website_deploy_key.enc
Binary file not shown.

0 comments on commit a05f50a

Please sign in to comment.