XiaodaBlogSource/.drone.yml
wenyongda 0d8ebba0f6
Some checks reported errors
continuous-integration/drone/push Build encountered an error
测试构建
2025-05-26 13:12:32 +08:00

18 lines
332 B
YAML

kind: pipeline
type: ssh
name: deploy-blog
server:
host: 47.93.8.7
port: 22
username: root
private_key:
from_secret: 12
script:
- yarn
- hexo clean
- hexo g --debug
- pwd
- sudo rm -rf /usr/local/docker/nginx/html/XiaowenBlog/public
- sudo mv ./public /usr/local/docker/nginx/html/XiaowenBlog