mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-10 02:08:21 +00:00
Update ipfs action to use infura.
This commit is contained in:
parent
04ff822495
commit
60193bd027
9
.github/workflows/ipfs-build.yml
vendored
9
.github/workflows/ipfs-build.yml
vendored
@ -18,14 +18,13 @@ jobs:
|
||||
cache: "yarn"
|
||||
- run: yarn install --prefer-offline
|
||||
- run: yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/assets/*.css && cp dist/index.html dist/ipfs-404.html
|
||||
- uses: aquiladev/ipfs-action@v0.2.1
|
||||
- uses: aquiladev/ipfs-action@v0.3.0-alpha.1
|
||||
id: ipfs-add
|
||||
with:
|
||||
path: ./dist
|
||||
service: pinata
|
||||
pinataKey: ${{ secrets.PINATA_API_KEY }}
|
||||
pinataSecret: ${{ secrets.PINATA_API_SECRET }}
|
||||
pinataPinName: piped
|
||||
service: infura
|
||||
infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }}
|
||||
infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }}
|
||||
- name: Update DNSLink
|
||||
run: npx dnslink-cloudflare -d kavin.rocks -l /ipfs/${{ steps.ipfs-add.outputs.hash }} -r _dnslink.piped-ipfs
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user