mirror of
https://github.com/Brandon-Rozek/website-observations.git
synced 2024-11-09 11:10:33 -05:00
Changed verify diff command to capture new files
This commit is contained in:
parent
60f0bf9fa4
commit
911cb37a81
1 changed files with 1 additions and 1 deletions
2
.github/workflows/refresh.yml
vendored
2
.github/workflows/refresh.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
||||||
- name: Check if there's any changes
|
- name: Check if there's any changes
|
||||||
id: verify_diff
|
id: verify_diff
|
||||||
run: |
|
run: |
|
||||||
git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT
|
if [ -n "$(git status --porcelain)" ]; then echo "changed=true" || tee -a $GITHUB_OUTPUT; fi
|
||||||
|
|
||||||
- name: Commit and push
|
- name: Commit and push
|
||||||
if: steps.verify_diff.outputs.changed == 'true'
|
if: steps.verify_diff.outputs.changed == 'true'
|
||||||
|
|
Loading…
Reference in a new issue