Deploy joy
Got myself a nice little system set up now to manage and deploy this static site.
It goes:
- Locally manage content with Statamic (nice!)
- Push to
main - Forgejo action runs, which:
- Builds site with
php please ssg:generate - Copies it to
/build(a not .gitignored directory) - Pushes to the
prodbranch - Pings my Coolify resource deploy webhook
- Builds site with
- Coolify deploys from
/buildonprod - You see this!
Have a look at this stuff for more info:
- How To: Setup and configure Forgejo with support for Forgejo Actions and more!
- This was a lifesaver, and setting up the runner was fun!
- bewlian.net repo
- bewlian.net build action
Bye bye GitHub! All the above with a simple VPS (and some technical knowhow)!