home-app/.drone.yml

22 lines
451 B
YAML
Raw Normal View History

2022-04-30 07:00:02 +00:00
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/**/*
2022-04-30 07:13:15 +00:00
target: /dist/