This commit is contained in:
186526 2022-04-30 15:00:02 +08:00
parent 01fd36d5e1
commit d9faf0685c
Signed by: 186526
GPG Key ID: C7EB1E6B8CC5E51D
1 changed files with 22 additions and 0 deletions

22
.drone.yaml Normal file
View File

@ -0,0 +1,22 @@
kind: pipeline
type: docker
name: build-dist
steps:
- name: build
image: node:lts-bullseye
commands:
- apt-get update -y && apt-get install git -y
- yarn build
- name: upload
image: plugins/s3
settings:
bucket: home-app
endpoint: https://storage.186526.xyz
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
source: dist/**/*
target: /dist/