Update '.drone.yml'

This commit is contained in:
M
2023-03-14 21:27:27 +05:30
parent 6631965dfd
commit 7e569f3ee0
+2 -2
View File
@@ -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