Skip to content

Commit a5e945b

Browse files
committed
Specify fetch-depth at the right place
1 parent 4a1d718 commit a5e945b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/django.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v2
1919
- name: Fetch history, because Heroku deploy fails otherwise.
20-
run: git fetch --prune --unshallow
21-
- name: Set up Python 3.9
2220
uses: actions/setup-python@v2
2321
with:
2422
python-version: 3.9
@@ -36,6 +34,8 @@ jobs:
3634
if: github.ref == 'refs/heads/master'
3735
steps:
3836
- uses: actions/checkout@v2
37+
with:
38+
fetch-depth: "0"
3939
- name: Deploy to Heroku
4040
env:
4141
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}

0 commit comments

Comments
 (0)