ipfs-shipyard / ipfs-github-action

Pin your site to IPFS from a GitHub Action
68 stars 7 forks source link

Add optional wait-timeout #8

Open alanshaw opened 2 years ago

alanshaw commented 2 years ago

Currently this task uses --wait to:

Wait for all nodes to report a status of pinned before returning

Github actions time out after 6 hours but most of the time something is broken if adding the content to the cluster takes just a fraction of that time. For example: website builds of just a few megabytes should not take more than 5 minutes.

It would be great to add support for --wait-timeout as an input:

How long to --wait (in seconds), default is indefinitely.