diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..311d278 --- /dev/null +++ b/.drone.yml @@ -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