mirror of
https://github.com/mmjee/Piped-Material.git
synced 2024-12-06 19:26:36 +01:00
Update '.drone.yml'
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user