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.
 
 
 
 

26 lines
622 B

kind: pipeline
type: docker
name: build-dist
steps:
- name: build
image: node:lts-buster
commands:
- apt-get update -y && apt-get install git -y
- yarn init-build
- yarn drone-build
- name: git-push
image: appleboy/drone-git-push
settings:
path: "./public/"
force: true
ssh_key:
from_secret: ssh_key
remote: ssh://[email protected]:10022/186526/build-blog.186526.xyz.git
remote_name: git
branch: master
commit: true
author_name: Drone CI
author_email: [email protected]
commit_message: "[Drone CI] Build Dist"