This commit is contained in:
parent
7bdf52f83f
commit
1dcd939bc1
@ -18,16 +18,13 @@ steps:
|
||||
image: debian
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get install -y --no-install-recommends calibre
|
||||
- apt-get install -y --no-install-recommends calibre curl
|
||||
- bash -x convert.sh
|
||||
- name: upload
|
||||
image: curlimages/curl
|
||||
commands:
|
||||
- bash -x upload.sh
|
||||
environment:
|
||||
USER:
|
||||
USERNAME:
|
||||
from_secret: nextcloud_user
|
||||
PASS:
|
||||
PASSWORD:
|
||||
from_secret: nextcloud_password
|
||||
|
||||
---
|
||||
|
@ -2,5 +2,5 @@
|
||||
|
||||
for FILE in output/*
|
||||
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
|
||||
|
Reference in New Issue
Block a user