Skip to content

v2.1.0 - adds `include_hidden` input option

Compare
Choose a tag to compare
@olizilla olizilla released this 10 May 10:46
· 7 commits to main since this release
59774ff

This release adds an include_hidden input option to allow you to specify that you want files and folders prefixed with a . that we find in the path_to_add to be included in the list of files that get added to web3.storage.

This is useful when you're adding a static website build directory and it contains as a /.well-known path, for example.

Example:

# build your site out to the dist directory (or wherever works for you)
- run: npm run build

# add to web3 with `include_hidden: true`
- uses: web3-storage/add-to-web3@v2.1.0
  id: web3
  with:
    web3_token: ${{ secrets.WEB3_STORAGE_TOKEN }}
    path_to_add: 'dist'
    include_hidden: true

Many thanks to @ljmf00 for landing this in #38

What's Changed

  • feat: Add support for pushing hidden dot files by @ljmf00 in #38
  • fix: don't enforce optional parameters to be required by @ljmf00 in #41
  • fix: remove trailing whitespace by @ljmf00 in #39
  • chore(deps): bump web3.storage from 3.5.2 to 4.2.0 by @dependabot in #55
  • chore: update @vercel/ncc and @actions/core by @olizilla in #58
  • docs: add include_hidden input option by @olizilla in #59

New Contributors

Full Changelog: v2...v2.1.0