The .woodpecker.yml file at https://codeberg.org/jwildeboer/fedigridsource/src/branch/pages/.woodpecker.yml shows how I took a rather "robust" approach of using a sledgehammer to get things done, but it works :)
This is now a really nice workflow. I can work on my pages from my laptop with a local Jekyll setup, use jekyll serve to check everything and when done I just commit to codeberg and wait a few seconds - everything updated :)
I made some medical changes to the woodpecker.yml file. It now keeps git commits intact. The first version just ignored everything. https://codeberg.org/jwildeboer/fedigridsource/src/branch/pages/.woodpecker.yml
@jwildeboer that's the exact same workflow I have with Jekyll and Netlify. I'm totally on board with the idea of moving to Codeberg and Codeberg pages but I just don't have the time right now, plus with Netlify I have a nice way of having forms working on a static website, I should find an alternative for that as well.
@m2m I will put out a blog entry with my working setup using woodpecker and codeberg pages. I hope it'll help you decide :)
Mastodon instance for people with Wildeboer as their last name