Skip to content

Commit

Permalink
Attempt to fix Heroku deploy from GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
fileformat committed Dec 20, 2024
1 parent 8411699 commit ea11968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-heroku.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: deploy to Heroku
run: git push https://heroku:${{ secrets.HEROKU_API_KEY }}@git.heroku.com/${{ secrets.HEROKU_APP_NAME }}.git origin/main:main
run: git push --verbose https://heroku:${{ secrets.HEROKU_API_KEY }}@git.heroku.com/${{ secrets.HEROKU_APP_NAME }}.git main:main

- name: update env vars
run: heroku config:set --app ${{ secrets.HEROKU_APP_NAME }} "COMMIT=${GITHUB_SHA:0:7}" "LASTMOD=$(date -u +%Y-%m-%dT%H:%M:%SZ)"
Expand Down

0 comments on commit ea11968

Please sign in to comment.