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:
124
124
if : github.ref == 'refs/heads/main'
125
125
continue-on-error : true
126
126
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
135
127
ipfs-cluster-ctl --enc=json \
136
128
--host "${CLUSTER_HOST}" \
137
129
--basic-auth "${CLUSTER_USER}:${CLUSTER_PASSWORD}" \
138
- pin add \
130
+ add --format car --local \
139
131
--name "${PIN_NAME}" \
140
- --wait \
141
- $PIN_CID
132
+ ipfs-webui_${{ github.sha }}.car
142
133
env :
143
134
CLUSTER_HOST : " /dnsaddr/ipfs-websites.collab.ipfscluster.io"
144
135
CLUSTER_USER : ${{ secrets.CLUSTER_USER }}
145
136
CLUSTER_PASSWORD : ${{ secrets.CLUSTER_PASSWORD }}
146
- PIN_CID : ${{ steps.ipfs.outputs.cid }}
147
137
PIN_NAME : " ipfs-webui@${{ github.sha }}"
148
138
149
139
- name : Fail job due to pinning failure
You can’t perform that action at this time.
0 commit comments