This commit is contained in:
parent
ce47707134
commit
ea5052f04a
16
.woodpecker.yml
Normal file
16
.woodpecker.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: node:22
|
||||
commands:
|
||||
- npm ci
|
||||
- npm run build
|
||||
deploy:
|
||||
image: minio/mc
|
||||
secrets: [MINIO_URL, ACCESS_KEY, SECRET_KEY]
|
||||
commands:
|
||||
- mc alias set minio $MINIO_URL $ACCESS_KEY $SECRET_KEY
|
||||
- mc mirror --overwrite build/ minio/bgenc.net/
|
|
@ -5,13 +5,14 @@
|
|||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"build": "vite build && npm run build:pagefind",
|
||||
"preview": "vite preview",
|
||||
"preview": "npm run preview:pagefind && vite preview",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"lint": "prettier --check . && eslint .",
|
||||
"format": "prettier --write .",
|
||||
"pagefind": "pagefind",
|
||||
"build:pagefind": "pagefind --site .svelte-kit/output/prerendered/pages/"
|
||||
"preview:pagefind": "pagefind --site .svelte-kit/output/prerendered/pages/",
|
||||
"build:pagefind": "pagefind --site build/"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/kit": "^1.27.6",
|
||||
|
|
Loading…
Reference in a new issue