mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-13 22:00: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
|
||||
service: infura
|
||||
- name: Update DNSLink
|
||||
run: npx dnslink-cloudflare -d kavin.rocks -l /ipfs/${{ steps.ipfs-add.outputs.hash }} -r _dnslink.piped-ipfs
|
||||
env:
|
||||
CLOUDFLARE_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 }}
|
||||
CF_API_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user