Generate creds.json

This commit is contained in:
William Harrison authored and GitHub committed 2023-03-04 12:12:25 +08:00
1 parent ea7e6f7584
commit c7ecc7f343
1 file changed
+3 -1
+3 -1
View File
@@ -19,6 +19,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Create creds.json
run: echo '{"cloudflare":{"TYPE":"CLOUDFLAREAPI","apitoken":"$CLOUDFLARE_API_TOKEN"}}' > ./creds.json
- name: Push Data
uses: koenrh/dnscontrol-action@v3
env:
@@ -26,4 +29,3 @@ jobs:
with:
args: push
config_file: "scripts/dns.js"
creds_file: "dns/creds.json"