Deploy content to IPFS via Pinner in your GitHub Actions workflows.
- uses: lumeweb/pinner-deploy-action@v0
with:
api-key: ${{ secrets.PINNER_API_KEY }}
path: ./dist- uses: lumeweb/pinner-deploy-action@v0
with:
api-key: ${{ secrets.PINNER_API_KEY }}
path: ./build
ipns-key: my-app- uses: lumeweb/pinner-deploy-action@v0
with:
api-key: ${{ secrets.PINNER_API_KEY }}
path: ./build
ipns-key: my-app
domain: myapp.example.com
remove-previous: true- uses: lumeweb/pinner-deploy-action@v0
with:
api-key: ${{ secrets.PINNER_API_KEY }}
path: ./build
domain: myapp.example.com
remove-previous: true- uses: lumeweb/pinner-deploy-action@v0
with:
api-key: ${{ secrets.PINNER_API_KEY }}
cid: QmExampleCID...| Input | Required | Default | Description |
|---|---|---|---|
api-key |
Yes | — | Pinner API key |
path |
No | — | Local directory or file to upload to IPFS |
cid |
No | — | Existing CID to pin (skip upload) |
endpoint |
No | https://ipfs.pinner.xyz |
Pinner API endpoint |
ipns-key |
No | — | IPNS key name or ID to publish under |
domain |
No | — | Domain for gateway website setup |
remove-previous |
No | false |
Remove previous pin after deploy. Requires "ipns-key" or "domain" |
Either
pathorcidmust be provided.
| Output | Description |
|---|---|
cid |
CID of the uploaded/pinned content |
gateway-url |
Gateway URL for the content |
ipns-name |
IPNS name if ipns-key was set |
website-id |
Website ID if domain was set |