测试构建
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
wenyongda 2025-05-26 13:08:56 +08:00
parent 5ea36e5f62
commit c407a7cdfc

15
.drone.yml Normal file
View File

@ -0,0 +1,15 @@
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