Files
msw-open-music/.drone.yml
2022-12-17 21:13:09 +08:00

24 lines
422 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: frontend-web
image: node:19
commands:
- cd web
- npm install
- npm run build
- name: upload
image: plugins/s3-sync
settings:
bucket: msw-artifacts-public
region: ap-southeast-1
access_key:
from_secret: access_key
secret_key:
from_secret: secret_key
source: web/build
target: /msw-open-music/${DRONE_COMMIT}