File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -124,26 +124,16 @@ jobs:
124124 if : github.ref == 'refs/heads/main'
125125 continue-on-error : true
126126 run : |
127- ipfs-cluster-ctl --enc=json \
128- --host "${CLUSTER_HOST}" \
129- --basic-auth "$CLUSTER_USER:$CLUSTER_PASSWORD" \
130- peers ls > cluster-peers-ls
131- for maddr in $(jq -r '.ipfs.addresses[]?' cluster-peers-ls); do
132- ipfs swarm peering add "$maddr" &
133- ipfs swarm connect "$maddr" &
134- done
135127 ipfs-cluster-ctl --enc=json \
136128 --host "${CLUSTER_HOST}" \
137129 --basic-auth "${CLUSTER_USER}:${CLUSTER_PASSWORD}" \
138- pin add \
130+ add --format car --local \
139131 --name "${PIN_NAME}" \
140- --wait \
141- $PIN_CID
132+ ipfs-webui_${{ github.sha }}.car
142133 env :
143134 CLUSTER_HOST : " /dnsaddr/ipfs-websites.collab.ipfscluster.io"
144135 CLUSTER_USER : ${{ secrets.CLUSTER_USER }}
145136 CLUSTER_PASSWORD : ${{ secrets.CLUSTER_PASSWORD }}
146- PIN_CID : ${{ steps.ipfs.outputs.cid }}
147137 PIN_NAME : " ipfs-webui@${{ github.sha }}"
148138
149139 - name : Fail job due to pinning failure
You can’t perform that action at this time.
0 commit comments