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 963cd42 commit dec5ca9Copy full SHA for dec5ca9
1 file changed
.github/workflows/deploy-heroku.yaml
@@ -18,6 +18,8 @@ jobs:
18
steps:
19
- name: git checkout
20
uses: actions/checkout@v4
21
+ with:
22
+ fetch-depth: 0
23
24
- name: deploy to Heroku
25
run: |
@@ -26,6 +28,10 @@ jobs:
26
28
git push --verbose https://heroku:${{ secrets.HEROKU_API_KEY }}@git.heroku.com/${{ secrets.HEROKU_APP_NAME }}.git main:main
27
29
30
- 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)"
31
+ run: |
32
+ echo "INFO: installing Heroku CLI"
33
+ npm i -g heroku
34
+ echo "INFO: updating env vars"
35
+ heroku config:set --app ${{ secrets.HEROKU_APP_NAME }} "COMMIT=${GITHUB_SHA:0:7}" "LASTMOD=$(date -u +%Y-%m-%dT%H:%M:%SZ)"
36
env:
37
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
0 commit comments