-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spock doesn't track unpublished collection entry #24
Comments
The same thing happens when publishing an unpublished entry. Spock adds, commits and pushed the published file e.g. |
Oh interesting. Maybe we should be firing an event for that from Statamic... Will look into it, thanks! |
Can't reproduce.
It's committing both fine for me 🤔 What versions of statamic and spock are you running? |
I am also running into this issue using the following setup:
Ignored events:
My current solution is to use a custom after command:
|
When unpublishing a collection entry, Spock adds, commits and pushes the unpublished file with the underscore e.g.
_entry.md
as expected. But it doesn't track the deleted fileentry.md
. I had to add, commit and push it myself. Great, if this can be fixed.The text was updated successfully, but these errors were encountered: