Use curl image for deployment
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-12-16 23:57:01 +01:00
parent 5ee8b4114b
commit c3999f45d9

View File

@@ -33,7 +33,7 @@ steps:
- ./gradlew bundleRelease - ./gradlew bundleRelease
- name: deploy latest build - name: deploy latest build
image: busybox image: curlimages/curl
environment: environment:
SEAFILE_API_KEY: SEAFILE_API_KEY:
from_secret: SeafileApiKey from_secret: SeafileApiKey
@@ -45,7 +45,7 @@ steps:
- 'curl -H "Authorization: Token $SEAFILE_API_KEY" -F file=@BUNDLE_FILE -F parent_dir=/ -F relative_path=latest/ -F replace=1 "$UPLOADLINK"' - 'curl -H "Authorization: Token $SEAFILE_API_KEY" -F file=@BUNDLE_FILE -F parent_dir=/ -F relative_path=latest/ -F replace=1 "$UPLOADLINK"'
- name: deploy tagged build - name: deploy tagged build
image: busybox image: curlimages/curl
environment: environment:
SEAFILE_API_KEY: SEAFILE_API_KEY:
from_secret: SeafileApiKey from_secret: SeafileApiKey