Use custom script for ipfs deploy

This commit is contained in:
tree 2022-10-15 23:40:49 +02:00
rodič fc7c139105
revize 243a00e9f2
1 změnil soubory, kde provedl 7 přidání a 3 odebrání

Zobrazit soubor

@ -16,8 +16,12 @@ pipeline:
branch: [main]
deploy_ipfs:
image: ipfs/ipfs-cluster
image: node
environment:
IPFS_CLUSTER_HOST: https://ipfs-cluster.gwei.cz
IPFS_CLUSTER_USER: ethbrno
IPFS_CLUSTER_PASS:
from_secret: IPFS_CLUSTER_PASS
commands:
- ls -lah build/
- ipfs-cluster-ctl --host /dns/ipfs-cluster.gwei.cz/tcp/443 --basic-auth ethbrno:$IPFS_CLUSTER_PASS add -r -H --cid-version 1 --wait build/
- npx -y --loglevel=error github:burningtree/ipfs-cluster-deploy ./build ethbrno-web
secrets: [IPFS_CLUSTER_PASS]