Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filecoin-station/web3-storage-upload-file-action
Upload a file to web3.storage
https://github.com/filecoin-station/web3-storage-upload-file-action
Last synced: 16 days ago
JSON representation
Upload a file to web3.storage
- Host: GitHub
- URL: https://github.com/filecoin-station/web3-storage-upload-file-action
- Owner: filecoin-station
- License: other
- Created: 2024-02-19T13:03:25.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-12-15T08:26:56.000Z (about 1 month ago)
- Last Synced: 2024-12-15T09:26:11.485Z (about 1 month ago)
- Language: JavaScript
- Size: 1.14 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# web3-storage-upload-file-action
Upload a file to [web3.storage](https://web3.storage).
## Usage
```yaml
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.