mirror of
https://github.com/Brandon-Rozek/website-toots.git
synced 2024-11-22 00:06:30 -05:00
Changed verify diff command to capture new files
This commit is contained in:
parent
414d1de278
commit
4de62265bd
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