Update .forgejo/workflows/build.yaml
This commit is contained in:
parent
c9da683a3c
commit
bf04636501
1 changed files with 8 additions and 4 deletions
|
@ -1,4 +1,8 @@
|
||||||
on: workflow_dispatch
|
on:
|
||||||
|
workflow_dispatch: true
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
@ -7,6 +11,6 @@ jobs:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: mkdir -p /data/forgejo-runner/nycki.net/site
|
- run: mkdir -p /data/nycki.net/site
|
||||||
- run: cp site.conf /data/forgejo-runner/nycki.net/site.conf
|
- run: cp site.conf /data/nycki.net/site.conf
|
||||||
- run: cp -r _site/* /home/nycki/nycki.net/patches/* /data/forgejo-runner/nycki.net/site/
|
- run: cp -r _site/* /home/nycki/nycki.net/patches/* /data/nycki.net/site/
|
||||||
|
|
Loading…
Reference in a new issue