Skip to content

Instantly share code, notes, and snippets.

@jenyayel
Created November 16, 2015 14:04
Show Gist options
  • Save jenyayel/093913c485bad63af01a to your computer and use it in GitHub Desktop.
Save jenyayel/093913c485bad63af01a to your computer and use it in GitHub Desktop.
Deploy via git
after_success:
- git clone git@heroku.com:qurrus-web-prod.git dist
- gulp build
- gulp bundle
- cd dist
- git config user.name "travis-ci"
- git config user.email "travis-ci@travis-ci.org"
- git add -f *
- cd ../jspm_packages
- git add -f system.js
- git commit -am "Travis CI"
- git push origin master
- git push --force --quiet "https://${git_user}:${git_password}@${git_target}" master:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment