Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Commit 024d8bf

Browse files
committed
fix workflow
1 parent d52b023 commit 024d8bf

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Verify and sync data to IPFS
1515
runs-on: ubuntu-latest
1616
outputs:
17-
cid: ${{ steps.upload.outputs.cidv1 }}
17+
cid: ${{ steps.upload-client.outputs.cidv1 }}
1818

1919
steps:
2020
- name: Checkout repo
@@ -41,6 +41,18 @@ jobs:
4141
#cloudflare-secret: ${{ secrets.CLOUDFLARE_SECRET }}
4242
#record-domain: example.com
4343
#record-name: _dnslink.app
44+
- name: Sync to IPFS
45+
id: upload-lib
46+
uses: nymmrx/ipfs-deploy@master
47+
with:
48+
path: "./ipfs-cluster-api/dist"
49+
pin-name: My Awesome Project
50+
pinata-key: ${{ secrets.PINATA_KEY }}
51+
pinata-secret: ${{ secrets.PINATA_SECRET }}
52+
#cloudflare-zone-id: ${{ secrets.CLOUDFLARE_ZONE }}
53+
#cloudflare-secret: ${{ secrets.CLOUDFLARE_SECRET }}
54+
#record-domain: example.com
55+
#record-name: _dnslink.app
4456
dnslink:
4557
name: Update dnslink record
4658
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)