Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber authored Feb 19, 2024
1 parent f2a6b24 commit 4ad0dec
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,24 @@ Publish a Zinnia module to the registry

## Usage

*DEPRECATED*

Use [web3-storage-upload-file-action](https://github.com/marketplace/actions/web3-storage-upload-file-action) and [w3name-update-action](https://github.com/marketplace/actions/w3name-update-action) instead:

```yaml
steps:
- run: curl -L https://api.github.com/repos/${{ github.repository }}/tarball/${{ github.sha }} > source.tar.gz
- uses: filecoin-station/publish-zinnia-module-action@v0
- uses: filecoin-station/web3-storage-upload-file-action@v0
id: upload
with:
path: source.tar.gz
private-key: ${{ secrets.W3UP_PRIVATE_KEY }}
proof: ${{ secrets.W3UP_PROOF }}
- uses: filecoin-station/w3name-update-action@v0
with:
source: source.tar.gz
w3up-private-key: ${{ secrets.W3UP_PRIVATE_KEY }}
w3up-proof: ${{ secrets.W3UP_PROOF }}
w3name-private-key: ${{ secrets.W3NAME_PRIVATE_KEY }}
w3name-revision: ${{ secrets.W3NAME_REVISION }}
value: "/ipfs/${{ steps.upload.outputs.cid }}"
private-key: ${{ secrets.W3NAME_PRIVATE_KEY }}
revision: ${{ secrets.W3NAME_REVISION }}
```
See https://web3.storage/docs/how-to/upload/#bring-your-own-delegations for
Expand Down

0 comments on commit 4ad0dec

Please sign in to comment.