Skip to content

Commit d2db300

Browse files
committed
git branches
1 parent 06fad92 commit d2db300

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/heroku-deploy.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@ jobs:
1414
env:
1515
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
1616
run: heroku --version
17-
- name: Set stack
18-
env:
19-
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
20-
run: git branch -a
17+
2118
- name: Login to Heroku Container registry
2219
env:
2320
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
2421
run: heroku container:login
2522
- name: Add remote origin
2623
run: |
2724
git remote add heroku https://heroku:${{ secrets.HEROKU_API_KEY }}@git.heroku.com/djangosnippets.git
25+
- name: Set stack
26+
env:
27+
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
28+
run: git branch -a
2829
- name: Deploy to Heroku
2930
run: |
3031
git push heroku main

0 commit comments

Comments
 (0)