Skip to content

filecoin-station/web3-storage-upload-file-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

web3-storage-upload-file-action

Upload a file to web3.storage.

Usage

steps:
  - uses: filecoin-station/web3-storage-upload-file-action@v0
    id: upload
    with:
      path: path-to-file.txt
      private-key: ${{ secrets.PRIVATE_KEY }}
      proof: ${{ secrets.PROOF }}
  - run: |
      echo "cid: ${{ steps.upload.outputs.cid }}"

See https://web3.storage/docs/how-to/upload/#bring-your-own-delegations for creating credentials.