Closed Maybach91 closed 1 year ago
I can't imagine -i=0
with copy/folder/up
is causing the problem. I am actually surprised CodeUpAction
uses the default message.
If you rsync the web/dist
folder anyway (copy/folder/up), you should exclude the generated files from git:
#.gitignore
/web/dist
Hi @Maybach91 ,
We have just published a new release of Craft Copy that allows you to customise the commit message for instance in a Github action. Please see how to use it here.
Thank you for bringing it to our attention!
Case: Uncomitted changes in the project and running
code/up
with the following config:config.yaml
This (
-i=0
) leads to a commit made by craft-copy which saysinit Craft
. Doing this multiple times is confusing for the commit history.Maybe a config setting to overwrite the default commit message or something like more according to the action which triggered, like
chore: code/up
or more explaining. Butinit Craft
is confusing in this case.