--- 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