This commit is contained in:
parent
ba11c7c62f
commit
ae6febe123
35
.drone.yml
Normal file
35
.drone.yml
Normal 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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user