kind: pipeline type: docker name: default clone: depth: 1 steps: - name: frontend-web image: node:19 commands: - cd web - npm install - npm run build - name: backend image: golang:1.19 commands: - go build -v . environment: CGO_ENABLED: 0 GOPROXY: goproxy.cn - 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: msw-open-music target: /msw-open-music/${DRONE_COMMIT}/