1
0
Fork 0

Create deployment workflow
Some checks failed
Deploy / build (push) Failing after 3m31s

This commit is contained in:
Moritz Ruth 2025-02-26 18:14:36 +01:00
parent c5b33fd752
commit 99d7dece79
Signed by: moritzruth
GPG key ID: C9BBAB79405EE56D

View 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