diff --git a/.drone.yml b/.drone.yml index f52e7cf..40de88d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,10 +38,10 @@ steps: - apt update && apt install -y ca-certificates age jq curl - curl -L -o ./ipfs-ezpublish https://minio.gra.xn--17b.net/public/ipfs-ezpublish && chmod +x ./ipfs-ezpublish - curl -L -o ./certificate.tar.xz.age https://minio.gra.xn--17b.net/public/cert.tar.xz.age - - echo ${MTLS_BUNDLE_KEY} | base64 -d > /tmp/bundle.key + - echo $MTLS_BUNDLE_KEY | base64 -d > /tmp/bundle.key - mkdir -v /tmp/certificate - age -d -i /tmp/bundle.key certificate.tar.xz.age | tar -Jxv -C /tmp/certificate - - ./ipfs-ezpublish -cert-file /tmp/certificate/cert.crt -private-key /tmp/certificate/cert.key -shell-url ${IPFS_SHELL_URL} -target dist -ipns-key $(echo $IPFS_IPNS_KEY | jq '.["${DRONE_COMMIT_BRANCH}"]') + - ./ipfs-ezpublish -cert-file /tmp/certificate/cert.crt -private-key /tmp/certificate/cert.key -shell-url $IPFS_SHELL_URL -target dist -ipns-key $(echo $IPFS_IPNS_KEY | jq .[\"$DRONE_COMMIT_BRANCH\"]) # Libera is blocking my IP range - name: matrix image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f