feat: woodpecker

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-08-15 22:47:21 -05:00
parent 0227b7ccb9
commit 9fa5446a51
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 21 additions and 0 deletions

21
.woodpecker.yml 100644
View File

@ -0,0 +1,21 @@
pipeline:
build:
image: node:20
commands:
- yarn install
- yarn build
- tar -czf dist.tar.gz dist
when:
event: push
branch: main
release:
image: jolheiser/drone-gitea-main
settings:
base: https://git.jojodev.com
token:
from_secret: gitea_token
files: dist.tar.gz
when:
event: push
branch: main