Open Emekarr opened 2 years ago
I experience this as well
Hi, I had the same problem and I solved doing this:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Deploy to heroku
if: ${{ github.event_name == 'push' }}
uses: akhileshns/heroku-deploy@v3.12.12
with:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: ${{ secrets.HEROKU_APP }}
heroku_email: ${{ secrets.HEROKU_EMAIL }}
You have to use the checkout first.
The fetch-depth is optional. Checkout action here
This is the workflow file
deploy: