This commit is contained in:
parent
5ea36e5f62
commit
c407a7cdfc
15
.drone.yml
Normal file
15
.drone.yml
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user