1.1 KiB
1.1 KiB
date | title | description | tags | ||
---|---|---|---|---|---|
2024-12-24T11:38:00.000Z | automatic rebuilding | this page was built with forgejo, yo |
|
this page was built with forgejo, yo!
I installed a git forge on my own server so I can upload whatever I want, including nsfw stuff if I feel like it, and I wrote this build script that automatically rebuilds the page whenever I push changes.
And I'm currently editing this page in Decap CMS, which automatically pushes changes to a git forge.
So I have a fully visual post editor now!
on:
workflow_dispatch:
push:
branches: [main]
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm run build
- run: mkdir -p /data/nycki.net/site
- run: cp site.conf /data/nycki.net/site.conf
- run: cp -r _site/* /home/nycki/nycki.net/patches/* /data/nycki.net/site/