2022-09-24 16:56:21 +08:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: bookmarkPublish
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
clone:
|
|
|
|
disable: true
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: deploy
|
|
|
|
image: appleboy/drone-ssh
|
|
|
|
settings:
|
|
|
|
host:
|
2023-03-12 01:32:33 -05:00
|
|
|
from_secret: devHost
|
|
|
|
port: 22
|
2022-09-24 16:56:21 +08:00
|
|
|
user: root
|
|
|
|
key:
|
|
|
|
from_secret: privateSsh
|
2023-04-01 05:41:48 -04:00
|
|
|
command_timeout: 30m
|
2022-09-24 16:56:21 +08:00
|
|
|
script:
|
2023-03-12 01:32:33 -05:00
|
|
|
- cd /root/bookmark && git pull && bash build.sh && bash syncFile.sh
|