Use Codeberg CI to auto-publish pages
Also in https://codeberg.org/hexo-test/pages/src/branch/pages/.woodpecker.yml there's an example of someone using the Woodpecker CI of codeberg (I thought CI services wasn't available yet). There are some issues though at this moment Codeberg/pages-server#36 but we can investigate setting this up for our own site.
Before going full CI we may use a shell script to publish. The second bullet point in this comment Codeberg/Documentation#27 provides a possible solution (though I didn't get it to work yet, maybe you can take a look as well @CSDUMMI )
In the same comment there's also a link to Drone CI scripts that may be of use.
I've just created a build.sh script to make the process somewhat easier.
The script make a copy of the whole project in
pages, so we should fix that (there are broken pages now: double menu entries and 404 page not working).
Deleting a branch is permanent. It CANNOT be undone. Continue?