This commit is contained in:
parent
7bdf52f83f
commit
1dcd939bc1
@ -18,16 +18,13 @@ steps:
|
|||||||
image: debian
|
image: debian
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends calibre
|
- apt-get install -y --no-install-recommends calibre curl
|
||||||
- bash -x convert.sh
|
- bash -x convert.sh
|
||||||
- name: upload
|
|
||||||
image: curlimages/curl
|
|
||||||
commands:
|
|
||||||
- bash -x upload.sh
|
- bash -x upload.sh
|
||||||
environment:
|
environment:
|
||||||
USER:
|
USERNAME:
|
||||||
from_secret: nextcloud_user
|
from_secret: nextcloud_user
|
||||||
PASS:
|
PASSWORD:
|
||||||
from_secret: nextcloud_password
|
from_secret: nextcloud_password
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
for FILE in output/*
|
for FILE in output/*
|
||||||
do
|
do
|
||||||
curl -Ss -u "${USER}":"${PASS}" -T "${FILE}" "https://cloud.crystalyx.net/remote.php/dav/files/${USER}/Public/TWI/${FILE##*/}"
|
curl -Ss -u "${USERNAME}":"${PASSWORD}" -T "${FILE}" "https://cloud.crystalyx.net/remote.php/dav/files/${USERNAME}/Public/TWI/${FILE##*/}"
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user