bgenc.net/.woodpecker.yml

21 lines
385 B
YAML

when:
- branch: main
event: push
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/