mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-14 14:20:28 +05:30
actions: use npx package to change dns record.
This commit is contained in:
parent
339195f799
commit
e03c8ba263
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -29,11 +29,6 @@ jobs:
|
|||||||
path: ./dist
|
path: ./dist
|
||||||
service: infura
|
service: infura
|
||||||
- name: Update DNSLink
|
- name: Update DNSLink
|
||||||
|
run: npx dnslink-cloudflare -d kavin.rocks -l /ipfs/${{ steps.ipfs-add.outputs.hash }} -r _dnslink.piped-ipfs
|
||||||
env:
|
env:
|
||||||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
CF_API_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
||||||
RECORD_DOMAIN: "kavin.rocks"
|
|
||||||
RECORD_NAME: "_dnslink.piped-ipfs"
|
|
||||||
CLOUDFLARE_TOKEN_ZONE_ID: ${{ secrets.CLOUDFLARE_TOKEN_ZONE_ID }}
|
|
||||||
uses: textileio/cloudflare-update-dnslink@master
|
|
||||||
with:
|
|
||||||
cid: ${{ steps.ipfs-add.outputs.hash }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user