Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
#	auto-deploy-docs/deploy_key.enc
#	auto-deploy-docs/travis-encryption-label
#	documentation.yml
#	package.json
#	src/index.js
  • Loading branch information
motiz88 committed Jun 4, 2016
2 parents 1e8f1e5 + 304f7f4 commit 37a0fb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions auto-deploy-docs/doc-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ SHA=`git rev-parse --verify HEAD`
# Clone the existing gh-pages for this repo into doc/
# Create a new empty branch if gh-pages doesn't exist yet (should only happen on first deploy)
git clone $REPO doc
cd doc
cd doc # <root>/doc
git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH
git clean -f
git reset --hard
cd ..
cd .. # <root>/doc

# Run our compile script
doCompile

# Now let's go have some fun with the cloned repo
cd doc
cd doc # <root>/doc
git config user.name "Travis CI"
git config user.email "$COMMIT_AUTHOR_EMAIL"

Expand All @@ -57,7 +57,7 @@ ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
ENCRYPTED_IV=${!ENCRYPTED_IV_VAR}
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in ../deploy_key.enc -out deploy_key -d
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in ../auto-deploy-docs/deploy_key.enc -out deploy_key -d
chmod 600 deploy_key
eval `ssh-agent -s`
ssh-add deploy_key
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"babel-cli": "^6.9.0",
"babel-core": "^6.9.0",
"babel-eslint": "^6.0.4",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
Expand Down

0 comments on commit 37a0fb7

Please sign in to comment.