mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Update ipfs action to use infura.
This commit is contained in:
parent
04ff822495
commit
60193bd027
1 changed files with 4 additions and 5 deletions
9
.github/workflows/ipfs-build.yml
vendored
9
.github/workflows/ipfs-build.yml
vendored
|
@ -18,14 +18,13 @@ jobs:
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
- run: yarn install --prefer-offline
|
- 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
|
- 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
|
id: ipfs-add
|
||||||
with:
|
with:
|
||||||
path: ./dist
|
path: ./dist
|
||||||
service: pinata
|
service: infura
|
||||||
pinataKey: ${{ secrets.PINATA_API_KEY }}
|
infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }}
|
||||||
pinataSecret: ${{ secrets.PINATA_API_SECRET }}
|
infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }}
|
||||||
pinataPinName: piped
|
|
||||||
- name: Update DNSLink
|
- name: Update DNSLink
|
||||||
run: npx dnslink-cloudflare -d kavin.rocks -l /ipfs/${{ steps.ipfs-add.outputs.hash }} -r _dnslink.piped-ipfs
|
run: npx dnslink-cloudflare -d kavin.rocks -l /ipfs/${{ steps.ipfs-add.outputs.hash }} -r _dnslink.piped-ipfs
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue