nycki.net/.forgejo/workflows/build.yaml

16 lines
404 B
YAML

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/