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

12 lines
411 B
YAML

on: workflow_dispatch
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/forgejo-runner/nycki.net/site
- run: cp site.conf /data/forgejo-runner/nycki.net/site.conf
- run: cp -r _site/* /home/nycki/nycki.net/patches/* /data/forgejo-runner/nycki.net/site/