mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-23 00:25:24 +00:00
Merge branch 'main' into main
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
<img alt="Domains" src="https://img.shields.io/github/directory-file-count/is-a-dev/register/domains?color=5c46eb&label=domains&style=for-the-badge">
|
||||
<img alt="Open Pull Requests" src="https://img.shields.io/github/issues-raw/is-a-dev/register?color=5c46eb&label=issues&style=for-the-badge">
|
||||
<img alt="Open Issues" src="https://img.shields.io/github/issues-pr-raw/is-a-dev/register?color=5c46eb&label=pull%20requests&style=for-the-badge">
|
||||
<br>
|
||||
<img alt="Publish" src="https://github.com/is-a-dev/register/actions/workflows/publish.yml/badge.svg">
|
||||
<img alt="Raw API" src="https://github.com/is-a-dev/register/actions/workflows/raw-api.yml/badge.svg">
|
||||
</p>
|
||||
|
||||
<h1 align="center">is-a.dev</h1>
|
||||
@@ -16,6 +19,8 @@
|
||||
<a href="https://discord.gg/is-a-dev-830872854677422150"><img alt="Discord Server" src="https://invidget.switchblade.xyz/is-a-dev-830872854677422150"></a>
|
||||
</p>
|
||||
|
||||
[](https://github.com/is-a-dev/register/actions/workflows/publish.yml)
|
||||
|
||||
## Issues
|
||||
If you have any problems, feel free to [open a issue](https://github.com/is-a-dev/register/issues/new/choose).
|
||||
|
||||
@@ -44,5 +49,11 @@ If you like this project, please consider donating so we can keep this project r
|
||||
<a href="https://www.buymeacoffee.com/phenax" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me a Coffee" height="28" width="119"></a>
|
||||
<a href="https://liberapay.com/phenax" target="_blank"><img src="https://img.shields.io/badge/liberapay-donate-yellow.svg?style=for-the-badge" alt="Liberapay"></a>
|
||||
|
||||
### Sponsors
|
||||
|
||||
<a href="https://www.cloudflare.com/lp/project-alexandria/">
|
||||
<img alt="Cloudflare Logo" src="https://raw.githubusercontent.com/is-a-dev/register/main/media/cloudflare.png" height="128">
|
||||
</a>
|
||||
|
||||
### 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).
|
||||
|
||||
+2
-2
@@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
Reference in New Issue
Block a user