add build
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Simon Marsh 2023-09-25 19:04:53 +01:00
parent ba11c7c62f
commit ae6febe123

35
.drone.yml Normal file
View File

@ -0,0 +1,35 @@
---
kind: pipeline
type: docker
name: deploy
steps:
- name: build
image: node:latest
commands:
- yarn install
- yarn build
- name: stage
image: alpine
commands:
- tar -czf clicker42.tar.gz -C dist/ .
- name: upload artifacts
image: git.burble.dn42/burble.dn42/drone-gitea-pkg-plugin:latest
settings:
token:
from_secret: TOKEN
version: latest
artifact: clicker42.tar.gz
package: clicker42
owner: burble.dn42
---
kind: secret
name: TOKEN
get:
path: burble.dn42/kv/data/drone/git.burble.dn42
name: artifact-token