You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
538 B

kind: pipeline
type: docker
name: build-dist
steps:
- name: build
image: node:alpine
commands:
- yarn install
- yarn prettier&&yarn dist
- name: git-push
image: appleboy/drone-git-push
settings:
ssh_key:
from_secret: ssh_key
remote: ssh://[email protected]:10022/186526/Sw2Express.git
remote_name: git
branch: master
commit: true
author_name: Drone CI
author_email: [email protected]
commit_message: "[Drone CI] Auto Format code && Build Dist"