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 66688e0c7e
Some checks failed
continuous-integration/drone/push Build is failing
Update
2020-12-01 15:17:02 +08:00

42 lines
583 B
YAML

---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
clone:
disable: true
steps:
- name: git
pull: default
image: plugins/git:1
settings:
depth: 50
tags: true
- name: build
pull: always
image: webhippie/hugo:latest
commands:
- hugo --cleanDestinationDir
- name: publish
pull: always
image: techknowlogick/drone-netlify:latest
settings:
path: public/
site_id: ce2c0d0e-1f56-4ae2-84ff-bf0f3f0eb6f7
environment:
NETLIFY_TOKEN:
from_secret: netlify_token
when:
event:
- push
trigger:
branch:
- master