-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Description
I can confirm the issue reported by Waze:
Spock is not getting notified about asset changes and is therefore not able to commit them. We also added an manual workaround similary to @wanze.
However, sSince this is throwing errors on every failed commit it would be great if this could be fixed. We are using Statamic 2.11.5and Spock 2.1.0.
Originally posted by @wanze in #24 (comment) :
I am also running into this issue using the following setup:
- Statamic
2.11.3 - Spock
2.1.0
Ignored events:
- Statamic\Events\Data\AssetUploaded
- Statamic\Events\Data\AssetMoved
- Statamic\Events\Data\AssetDeleted
- Statamic\Events\Data\FileUploaded
My current solution is to use a custom after command:
- if (( $(git status -s | wc -l) > 0 )); then git add --all && git commit -m "[skip-ci] Additional changes after running Spock" && git push; fi
simonhamp
Metadata
Metadata
Assignees
Labels
No labels