Skip to content

Commit

Permalink
fix(travis): fix path and names 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBrisorgueil committed Jun 12, 2019
1 parent 556e07a commit 1ea863b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cache:
services:
- mongodb
before_install:
- openssl aes-256-cbc -K $encrypted_52003b97e11e_key -iv $encrypted_52003b97e11e_iv -in deploy_rsa_node.enc -out deploy_rsa_node -d
- openssl aes-256-cbc -K $encrypted_52003b97e11e_key -iv $encrypted_52003b97e11e_iv -in deploy_rsa_node.enc -out deploy_key_node -d
install:
- npm i
after_script:
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy-travis.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

eval "$(ssh-agent -s)" # Start ssh-agent cache
chmod 600 $TRAVIS_BUILD_DIR/.travis/deploy_key # Allow read access to the private key
ssh-add $TRAVIS_BUILD_DIR/.travis/deploy_key # Add the private key to SSH
chmod 600 $TRAVIS_BUILD_DIR/deploy_key_node # Allow read access to the private key
ssh-add $TRAVIS_BUILD_DIR/deploy_key_node # Add the private key to SSH

ssh -p $sshPort $sshUser@$sshHost -o StrictHostKeyChecking=no "$( cat <<EOT
echo "$(date -u) Deploy '${depProject}'" >> ./deploy.log
Expand Down

0 comments on commit 1ea863b

Please sign in to comment.