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

17 lines
409 B
YAML
Raw Normal View History

2024-12-24 19:37:12 +00:00
on:
workflow_dispatch: true
push:
branches: [main]
2024-12-24 03:47:09 +00:00
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
2024-12-24 03:53:59 +00:00
- uses: actions/setup-node@v4
- run: npm ci
2024-12-24 04:02:54 +00:00
- run: npm run build
2024-12-24 19:37:12 +00:00
- 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/