diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 335a58668..9622ebd4a 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -4,7 +4,7 @@ on:
push:
branches: [main]
paths:
- - "domains/**"
+ - "domains/*"
- ".github/workflows/publish.yml"
- "dnsconfig.js"
@@ -21,12 +21,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- - run: echo '{"cloudflare":{"TYPE":"CLOUDFLAREAPI","apitoken":"$CLOUDFLARE_API_TOKEN"}}' > ./creds.json
+ - name: Generate creds.json
+ run: echo '{"cloudflare":{"TYPE":"CLOUDFLAREAPI","apitoken":"$CLOUDFLARE_API_TOKEN"}}' > ./creds.json
- name: Publish
- uses: koenrh/dnscontrol-action@v3
+ uses: is-a-dev/dnscontrol-action@main
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
with:
args: push
- config_file: "dnsconfig.js"
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index 9f45e5b0d..0ca0890ec 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -6,7 +6,7 @@ on:
push:
branches: [main]
paths:
- - "domains/**"
+ - "domains/*"
- ".github/workflows/validation.yml"
- "dnsconfig.js"
@@ -24,10 +24,9 @@ jobs:
- uses: actions/checkout@v4
- name: Check
- uses: koenrh/dnscontrol-action@v3
+ uses: is-a-dev/dnscontrol-action@main
with:
args: check
- config_file: "dnsconfig.js"
json:
name: JSON
diff --git a/README.md b/README.md
index 1cdb8598b..2a2f68204 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,9 @@
+
+
+
+
+
### Similar Services
If you want to find services similar to is-a.dev, take a look at [Free For Life](https://github.com/wdhdev/free-for-life#domains).
diff --git a/dnsconfig.js b/dnsconfig.js
index b703fac15..f22a4219a 100644
--- a/dnsconfig.js
+++ b/dnsconfig.js
@@ -113,8 +113,8 @@ for (var idx in domains) {
// Note: URL records are not actual DNS records, we have a server configured to support them instead.
if (domainData.record.URL) {
commit[domainName].push(
- A(subdomainName, "45.85.238.5", proxy.on)
- TXT("_redirect" + subdomainName, "v=txtv0;type=host;to=" + domainData.record.URL)
+ A(subdomainName, "45.85.238.5", proxy.on),
+ TXT("_redirect." + subdomainName, "v=txtv0;type=host;to=" + domainData.record.URL)
);
}
}
diff --git a/media/cloudflare.png b/media/cloudflare.png
new file mode 100644
index 000000000..dc252a0a5
Binary files /dev/null and b/media/cloudflare.png differ