website/.drone.yml
Paul Lecuq 10e334d38a
Some checks reported errors
continuous-integration/drone/push Build encountered an error
updated .drone.yml
2020-04-26 11:47:39 +02:00

30 lines
545 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: gohugoio/hugo
commands:
- /hugo --destination build
- name: archive
image: alpine
commands:
- cd build
- tar -czvf website-${DRONE_TAG}.tar.gz .
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