diff --git a/.drone-ci.yml b/.drone-ci.yml new file mode 100644 index 0000000..0cb8af9 --- /dev/null +++ b/.drone-ci.yml @@ -0,0 +1,19 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: build + image: jonasfranz/thesis:latest + pull: 'always' + commands: + - make publish + +- name: upload + image: curlimages/curl + environment: + WEBDAV_AUTH: + from_secret: webdav_auth + commands: + - curl -T thesis.pdf -u "$WEBDAV_AUTH" https://cloud.jfdev.de/remote.php/dav/files/drone/Uploads/ \ No newline at end of file diff --git a/README.md b/README.md index 102258d..38c95bc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://github.com/mbredel/thesis-template/workflows/template/badge.svg)](https://github.com/mbredel/thesis-template/actions) +[![Build Status](https://drone.jfdev.de/api/badges/KoSI/thesis/status.svg)](https://drone.jfdev.de/KoSI/thesis) # A thesis LaTeX-template