Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 476 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 476 Bytes

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.