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 88b7eee commit ff25fd0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis/deploy.sh
@@ -1,3 +1,7 @@

#!/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
git push --force dokku HEAD:master
git push --force dokku HEAD:master

0 comments on commit ff25fd0

Please sign in to comment.