Skip to content

Commit

Permalink
git branches
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswedgwood committed Aug 11, 2024
1 parent 06fad92 commit d2db300
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/heroku-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ jobs:
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku --version
- name: Set stack
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: git branch -a

- name: Login to Heroku Container registry
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:login
- name: Add remote origin
run: |
git remote add heroku https://heroku:${{ secrets.HEROKU_API_KEY }}@git.heroku.com/djangosnippets.git
- name: Set stack
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: git branch -a
- name: Deploy to Heroku
run: |
git push heroku main

0 comments on commit d2db300

Please sign in to comment.