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

16 lines
297 B
YAML

kind: pipeline
type: ssh
name: deploy-blog
server:
host: 47.93.8.7
port: 22
username: root
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