Skip to content

Commit

Permalink
Update deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dz0ny committed Feb 23, 2017
1 parent 9c78940 commit 8a382c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
@@ -1,10 +1,13 @@
language: node_js
node_js:
- "6"
dist: trusty
- '6'
dist: trusty
sudo: false
deploy:
provider: script
script: .travis/deploy.sh
script: ".travis/deploy.sh"
on:
branch: master
branch: master
before_install:
- openssl aes-256-cbc -K $encrypted_8b6bbaa2f436_key -iv $encrypted_8b6bbaa2f436_iv
-in .travis/key.enc -out .travis/deploy_key.pem -d
2 changes: 1 addition & 1 deletion .travis/deploy.sh
@@ -1,6 +1,6 @@
#!/bin/bash

eval "$(ssh-agent -s)" #start the ssh agent
echo "$FUNNY_CAT" > .travis/deploy_key.pem
chmod 600 .travis/deploy_key.pem # this key should have push access
ssh-add .travis/deploy_key.pem
git remote add dokku dokku@$APP_HOSTNAME:$APP
Expand Down
Binary file added .travis/key.enc
Binary file not shown.

0 comments on commit 8a382c1

Please sign in to comment.