deploy:temp

This commit is contained in:
fanxb 2022-09-23 16:54:38 +08:00
parent fa58d23730
commit b508c1f7a4

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
kind: pipeline
type: docker
name: blogPublish
steps:
- name: package
image: node:16-bullseye
volumes:
- name: app
path: /app
commands:
- cd /app
- npm install -g hexo --registry=https://registry.npmmirror.com
- npm install --registry=https://registry.npmmirror.com
- hexo v && hexo clean && hexo g
- cd public
- tar -czf ../dist.tar.gz *