Closed Plagiatus closed 1 year ago
remote-path
should be relative to the logged in SSH user's home directory. Try login normally with the SSH user and check which is the default directory and update the remote-path
accordingly.
Yes, the remote path is correct.
This doesn't explain why the two options behave differently, as it works as intended when changing nothing but sync from "delta" to "full".
I can confirm that this is a bug in the script. The issue is with how git diff generates the file names and there is no straightforward way to make it work with FTP using relative paths. I am trying several options to fix this. Will keep you posted.
This issue has been fixed in release 1.13.
thank you so much, that was very quick!
After finally finding this action that works with sftp and covers all my usecases (and I love the fact that you can toggle whether to run a delta or full in a manual action) I've come across this issue:
It seems that the path is handled differently when using delta vs when using full.
I want to sync the top level folder
./datapacks
in my repository with the remote folder/world/datapacks
. Here is my config file:When using
full
dispatch mode the files are created correctly:However, when using
delta
, the files are put into an additional subfolder (world/datapacks/datapacks
instead ofworld/datapacks
).Did I configure something wrong or is this an issue with the pack?
Thank you for any info in advance :)