We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29261ea commit a8c3c56Copy full SHA for a8c3c56
.github/workflows/heroku-deploy.yml
@@ -22,8 +22,9 @@ jobs:
22
env:
23
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
24
run: heroku container:login
25
- - name: Deploy to production
26
- env:
27
- HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
28
- run: git push https://heroku:${{ secrets.HEROKU_API_KEY }}@git.heroku.com/djangosnippets.git HEAD:main
29
-
+ - 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
30
+ git push heroku HEAD:main -f
0 commit comments