Permalink
Browse files

Update deploy.sh

  • Loading branch information...
1 parent 88b7eee commit ff25fd050f92e3456ced6de71b54198613380f60 @dz0ny dz0ny committed Feb 23, 2017
Showing with 6 additions and 2 deletions.
  1. +6 −2 .travis/deploy.sh
View
@@ -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.