Skip to content

Commit 3667102

Browse files
committed
fix: use valid golang duration format for cluster-pin-expire-in
change from 90d to 2160h as golang's time.ParseDuration only supports units up to hours (ns, us, ms, s, m, h), not days
1 parent 9b58c1e commit 3667102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
cluster-url: "/dnsaddr/ipfs-websites.collab.ipfscluster.io"
5151
cluster-user: ${{ secrets.CLUSTER_USER }}
5252
cluster-password: ${{ secrets.CLUSTER_PASSWORD }}
53-
cluster-pin-expire-in: ${{ github.event.workflow_run.head_branch != 'main' && '90d' || '' }}
53+
cluster-pin-expire-in: ${{ github.event.workflow_run.head_branch != 'main' && '2160h' || '' }}
5454
#storacha-key: ${{ secrets.STORACHA_KEY }}
5555
#storacha-proof: ${{ secrets.STORACHA_PROOF }}
5656
github-token: ${{ github.token }}

0 commit comments

Comments
 (0)