md-view-go/.woodpecker/.deploy.yml

25 lines
527 B
YAML
Raw Normal View History

2024-05-11 10:24:12 +08:00
clone:
disable: true
steps:
- name: deploy
image: appleboy/drone-ssh
settings:
host:
- blog.lll.net
username: root
password:
from_secret: ssh_password
port: 2022
command_timeout: 2m
script:
- cd /root/learn/
- docker pull docker.lianglianglee.com/lianglianglee/md-view-go:latest
- docker compose down && docker compose up -d
when:
- environment: production
- event: deployment
depends_on:
- build
- docker