27 lines
622 B
YAML
27 lines
622 B
YAML
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://git@direct-git.186526.xyz:10022/186526/build-blog.186526.xyz.git
|
|
remote_name: git
|
|
branch: master
|
|
commit: true
|
|
author_name: Drone CI
|
|
author_email: droneci@186526.xyz
|
|
commit_message: "[Drone CI] Build Dist"
|