This repository has been archived on 2022-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
website/.drone.yml
Lunny Xiao dbee2a92a4
Some checks failed
continuous-integration/drone/push Build is failing
fix publish
2019-06-17 09:40:10 +08:00

29 lines
444 B
YAML

workspace:
base: /srv/app
path: src
branches:
- master
clone:
git:
image: plugins/git:1
depth: 50
tags: true
pipeline:
build:
image: webhippie/hugo:latest
pull: true
commands:
- hugo --cleanDestinationDir
publish:
image: lucap/drone-netlify:latest
pull: true
secrets: [ netlify_token ]
site_id: ce2c0d0e-1f56-4ae2-84ff-bf0f3f0eb6f7
path: public/
when:
event: [ push ]