added ci
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Paul 2020-04-26 11:37:01 +02:00
parent 97cfe7d7da
commit 9ea5c61198

30
.drone.yml Normal file
View File

@ -0,0 +1,30 @@
---
kind: pipeline
type: docker
name: default-linux-amd64
steps:
- name: build
image: gohugoio/hugo
commands:
- hugo --destination build
- name: archive
image: gohugoio/hugo
commands:
- cd build
- tar -czvf website-${DRONE_TAG}.tar.gz .
- cd
when:
event: tag
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.paulbsd.com
api_key:
from_secret: gitea_token
files: "build/*.tar.gz"
checksum:
- sha256
- sha512
when:
event: tag