Skip to content

Commit

Permalink
Long
Browse files Browse the repository at this point in the history
  • Loading branch information
benlovell committed Dec 29, 2024
1 parent fd68bb1 commit af38ce2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to Heroku docker registry
- name: Login to Heroku container registry
run: |
docker login --username=${{ secrets.HEROKU_API_EMAIL }} --password=${{ secrets.HEROKU_API_KEY }} registry.heroku.com
cat >~/.netrc <<EOF
machine api.heroku.com
login ${{ secrets.HEROKU_API_EMAIL }}
password ${{ secrets.HEROKU_API_KEY }}
machine git.heroku.com
login ${{ secrets.HEROKU_API_EMAIL }}
password ${{ secrets.HEROKU_API_KEY }}
EOF
heroku container:login
- name: Push web container to Heroku
run: |
Expand Down

0 comments on commit af38ce2

Please sign in to comment.