Update hugobuild.drone.yml
continuous-integration/drone/push Build encountered an error Details

main
InkSoul 2023-08-08 16:53:10 +08:00
parent dd9d564e37
commit ca87f04902
1 changed files with 7 additions and 3 deletions

View File

@ -2,13 +2,17 @@ kind: pipeline
type: docker
name: blog-publish
clone:
disable: false # 启用代码拉取
steps:
- name: build
image: inksoul/hugo-rsync
volumes: #挂载数据卷
image: inksoul/hugo-rsync
depends_on: [clone] # 依赖的步骤,
volumes: #挂载数据卷
- name: blog
path: /data
commands:
commands:
- hugo
- rsync -a --delete --exclude '.user.ini' public/ /data