This commit is contained in:
parent
c5b33fd752
commit
99d7dece79
1 changed files with 26 additions and 0 deletions
26
.forgejo/workflows/deploy.yaml
Normal file
26
.forgejo/workflows/deploy.yaml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: "Deploy"
|
||||||
|
on: ["push"]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: "docker"
|
||||||
|
container:
|
||||||
|
image: "code.forgejo.org/oci/node:22-alpine3.21"
|
||||||
|
steps:
|
||||||
|
- name: "Checkout"
|
||||||
|
uses: "https://code.forgejo.org/actions/checkout@v4"
|
||||||
|
|
||||||
|
- name: "Install dependencies"
|
||||||
|
run: "pnpm install"
|
||||||
|
|
||||||
|
- name: "Build"
|
||||||
|
run: "pnpm build"
|
||||||
|
|
||||||
|
- name: "Upload"
|
||||||
|
uses: "https://code.forgejo.org/forgejo/upload-artifact@v4"
|
||||||
|
with:
|
||||||
|
name: "site.zip"
|
||||||
|
if-no-files-found: "error"
|
||||||
|
path: |
|
||||||
|
./dist/**/*
|
||||||
|
!dist/.vite
|
Loading…
Add table
Reference in a new issue