jolheiser.com/.woodpecker.yml

22 lines
392 B
YAML

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