Prep for deploy
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Kaan Barmore-Genç 2024-05-09 22:44:02 -05:00
parent ce47707134
commit ea5052f04a
Signed by: kaan
GPG key ID: B2E280771CD62FCF
3 changed files with 20 additions and 3 deletions

2
.nvmrc
View file

@ -1 +1 @@
v20.12.2
v22.1.0

16
.woodpecker.yml Normal file
View 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/

View file

@ -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",