Skip to content

Instantly share code, notes, and snippets.

@ekpangmichael
Created September 25, 2019 18:37
Show Gist options
  • Save ekpangmichael/e476db47011c90409b48cd5b5c60a0ec to your computer and use it in GitHub Desktop.
Save ekpangmichael/e476db47011c90409b48cd5b5c60a0ec to your computer and use it in GitHub Desktop.
- name: Add remote origin
run: |
git remote add heroku https://heroku:${{ secrets.HEROKU_API_KEY }}@git.heroku.com/${{ secrets.HEROKU_APP_NAME }}.git
- name: Deploy to Heroku
run: |
git push heroku HEAD:master -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment