deploy:temp
This commit is contained in:
parent
fa58d23730
commit
b508c1f7a4
17
.drone.yml
Normal file
17
.drone.yml
Normal 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 *
|
Loading…
x
Reference in New Issue
Block a user