Skip to content

Releases: ipfs-shipyard/ipfs-github-action

v2.1.1

08 Feb 09:15
0316b7f
Compare
Choose a tag to compare

v2.1.0

09 Jul 14:07
182f36d
Compare
Choose a tag to compare

Fixes

  • Pass --wait flag to ipfs-cluster-ctl when adding to ensure that the files are pinned and replicated before returning the root cid.
  • Pass a valid https url for the cluster as the target_url on the call to the github commit statuts api.
  • Use a versioned tag of the ipfs-dns-deploy docker image.

v2.0.0

23 Jul 10:41
0ccb5d9
Compare
Choose a tag to compare

Publish websites to IPFS as part of a github action workflow. This action pins a directory to IPFS by using the ipfs-cluster-ctl command to pin it to a remote IPFS Cluster. It sets the IPFS URL as a status on the commit that triggered the action, allowing easy previewing of rendered static sites on the dweb.

NOTE: You need to provide credentials to an IPFS cluster instance that you have permission to pin to, in order to make use of this action.

Changes from v1

Switched to cid-in-subdomain preview URLs.

Action Version Default IPFS Preview URL
v1 https://ipfs.io/ipfs/QmZULkCELmmk5XNfCgTnCyFgAVxBRBXyDHGGMVoLFLiXEN
v2 https://bafkreicysg23kiwv34eg2d7qweipxwosdo2py4ldv42nbauguluen5v6am.ipfs.dweb.link
  • Output v1 CIDs
  • Use cid-in-subdomain style gateway urls
  • Default ipfs gateway is now dweb.link... which is also hosted on the public ipfs.io gateway, but is configured for cid-in-subdomain urls.
  • Output the preview url for fetching the cid via the gateway. It is set as the IPFS status on the commit, but the url wasn't previously available to other steps in the workflow, only the cid was.
  • Pin to the cluster node that recieves the request which can be faster for large datasets.

ipfs cid-in-subdomain gateways are preferred now as they preserve the origin isolation of each site by using the cid as part of the domain. Each root is isloated from every other root. It means your site is mounted on / rather than /ipfs so root-relative urls will still work too, which is a big deal.

If you'd prefer to use /ipfs/ style preview urls, then v1 of this action is the one for you! See: https://github.com/ipfs-shipyard/ipfs-github-action/releases/tag/v1.0.0

V1.0.0

13 Jul 14:30
da7da57
Compare
Choose a tag to compare

An action to publish a static site or other content to IPFS as part of a github workflow. It requires credentials to an IPFS Cluster instance to get the job done.