knowyt/.woodpecker.yml
Settel 163b1bbfc5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
chore: update .woodpecker.yml to match new syntax requirements
2024-02-01 12:10:47 +01:00

44 lines
1.1 KiB
YAML

when:
branch: prod
steps:
frontend:
image: node:18-alpine
commands:
- yarn global add pnpm
- ( cd client && pnpm run setup )
- ( cd client/ && pnpm run generate )
- mkdir -p client/.output/public/
backend:
image: golang:1.20-alpine
commands:
- apk add go-bindata
- apk add make
- make -C server setup
- make -C server build
- mkdir -p build/files/data
- cp server/knowyt build/files/
build-publish:
image: mtvb/drone-kaniko
settings:
reproducible: true
username:
from_secret: docker.private.gnuher.de.username
password:
from_secret: docker.private.gnuher.de.password
repo: knowyt
registry: docker.private.gnuher.de
tags: latest
notify:
image: thegeeklab/drone-matrix
settings:
homeserver: https://matrix.bw-messenger.de/
roomid: wHCOKvEHLUmsNybNwh:matrix.bw-messenger.de
username:
from_secret: matrix.bw-messenger.de.username
password:
from_secret: matrix.bw-messenger.de.password