parent
0227b7ccb9
commit
9fa5446a51
|
@ -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
|
||||
|
Loading…
Reference in New Issue