You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
363 B
19 lines
363 B
3 years ago
|
---
|
||
|
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/
|