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

18 lines
456 B
YAML
Raw Normal View History

2024-12-27 23:39:47 +00:00
on:
2024-12-24 19:38:14 +00:00
workflow_dispatch:
2024-12-24 19:37:12 +00:00
push:
branches: [main]
2024-12-27 23:39:47 +00:00
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
2024-12-28 00:43:52 +00:00
# - run: cp tools/site.conf /data/nycki.net/site.conf
# - run: cp -r _site/* /home/nycki/nycki.net/patches/* /data/nycki.net/site/
- run: cp -r _site/* /data/nycki.net/site/