I manually set up Bunny last night and it's working good but now I want to use Trifold for future uploads. At what point in your instructions do I start? I don't want Trifold changing anything that is already set up.
Starting from manual install #9
Update - Having some problems getting trifold.toml written. I'm on Windows. uv is running trifold great. See image link below for the error. I started from the trifold beginning instructions running "uvx trifold init". It's when I get to the local folder. Trifold can't seem to find my "out" folder, which is in the folder I ran "uvx trifold init" from.
trifold init will try to create the buckets, I think you'll want to just create a toml manually and run publish
imgur is having trouble, so apologies if I am missing some important context, but I think this will work (assuming trifold.toml is in a directory where there is a subdirectory named out/ that you want to publish from.
provider = "bunny"
remote_path = ""
local_path = "out"
ignore = []
remote_ignore = []
[bunny]
storage_zone = "your-bucket-name"
Thanks for pioneering the publish-only workflow :) If we figure this out/iron out any kinks I'll document it.
I'll give it a try, thanks.
OK, it looks like trifold is not seeing my "out" folder. After running "uvx trifold publish", running from the folder that has the toml file and my "out" folder, I get this - (note I manually uploaded a couple of days ago the 114 files)
g:\trifold\uvx trifold publish
0 only_local | 114 only_remote | 0 diff | 2 same
uploaded: 0
would delete: 114
using custom 404 page: 404.html
cache purged! mysite.b-cdn.net
Or am I reading this wrong. It says 2 same? In my "out" folder I have an index.html file and a css folder with style.css in it. Is that the 2 that are the same? Well, yes I think. I added more files to upload and it looks like it's working.
If you run with -vv you'll get a list of what it wants to delete that might shed some insight into what's going on. If there are files uploaded that you want to keep you could add a pattern to remote_ignore
Did you manage to get this working? I'm curious how it resolved
Yes, it's working fine. I was just not reading it right. Yesterday another issue arose but it's solved again. I will post over there at the new issue.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?