Fix deploy diff: use fetch-depth 0 so github.event.before is present locally
All checks were successful
Deploy to WebDAV (/BLB) / deploy (push) Successful in 46s
All checks were successful
Deploy to WebDAV (/BLB) / deploy (push) Successful in 46s
This commit is contained in:
parent
1bbdf05a76
commit
8c2b1434b8
@ -14,6 +14,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
# Full history: the deploy script diffs github.event.before..sha to
|
||||||
|
# find which files changed in this push. Shallow (depth-1, the default)
|
||||||
|
# clones don't contain the before commit, so that diff would 128.
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Deploy changed files to WebDAV
|
- name: Deploy changed files to WebDAV
|
||||||
env:
|
env:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user