2023-09-27 15:27:41 +00:00
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: node:18
|
|
|
|
commands:
|
|
|
|
- npm ci
|
|
|
|
- npm run build
|
|
|
|
release:
|
|
|
|
image: woodpeckerci/plugin-gitea-release
|
|
|
|
settings:
|
|
|
|
base_url: https://git.jojodev.com
|
|
|
|
files:
|
|
|
|
- "dist/*"
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_token
|
2023-09-27 15:30:34 +00:00
|
|
|
when:
|
|
|
|
event: tag
|
2023-09-27 15:27:41 +00:00
|
|
|
prune:
|
|
|
|
image: jolheiser/drone-gitea-prune
|
|
|
|
settings:
|
|
|
|
base: https://git.jojodev.com
|
|
|
|
token:
|
|
|
|
from_secret: gitea_token
|
2023-09-27 15:30:34 +00:00
|
|
|
when:
|
|
|
|
event: tag
|