Skip to content

Commit

Permalink
Move travis deploy scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
eternauta1337 committed Mar 11, 2017
1 parent 2c98675 commit e6429cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
language: node_js
node_js:
- stable
script: bash ./deploy.sh
script:
- bash scripts/deploy.sh
env:
global:
- ENCRYPTION_LABEL: 1336e6414326
Expand Down
8 changes: 3 additions & 5 deletions deploy.sh → scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ function doCompile {
}

echo "Generating docs..."
echo "pwd"
pwd
echo "ls -la"
ls -la
echo "ls -la node_modules"
ls -la node_modules
echo "ls -la node_modules/@awayjs"
ls -la node_modules/@awayjs

# Save some useful information
REPO=`git config remote.origin.url`
Expand Down Expand Up @@ -66,7 +64,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 scripts/deploy_key.enc -out deploy_key -d
chmod 600 deploy_key
eval `ssh-agent -s`
ssh-add deploy_key
Expand Down
File renamed without changes.

0 comments on commit e6429cb

Please sign in to comment.