Skip to content

Instantly share code, notes, and snippets.

@ekpangmichael
Created October 5, 2019 09:39
Show Gist options
  • Save ekpangmichael/0e1538c88f74320f4989dc18d051ec11 to your computer and use it in GitHub Desktop.
Save ekpangmichael/0e1538c88f74320f4989dc18d051ec11 to your computer and use it in GitHub Desktop.
# Function to deploy to Heroku
.deploy_script: &deploy_script
script:
- apk update && apk add git && apk add curl
- git remote add heroku https://heroku:$HEROKU__KEY@git.heroku.com/$APP.git
- git push heroku HEAD:master -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment