clicker42/.drone.yml
Simon Marsh ae6febe123
All checks were successful
continuous-integration/drone Build is passing
add build
2023-09-25 19:04:53 +01:00

36 lines
567 B
YAML

---
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