Update netlify-deploy.yml to do a full depth git checkout

This commit is contained in:
Neil Brommer 2023-07-11 12:44:11 -07:00 committed by GitHub
parent 21b3e1616c
commit e42141b089
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,8 @@ jobs:
name: "Deploy To Netlify" name: "Deploy To Netlify"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: "git log --diff-filter=A --follow -1 --format=%at src/posts/CsPaginationTools.md" with:
fetch-depth: 0
- uses: jsmrcaga/action-netlify-deploy@v2.0.0 - uses: jsmrcaga/action-netlify-deploy@v2.0.0
with: with:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}