mirror of
https://github.com/partofmyid/register.git
synced 2026-06-05 18:46:50 +07:00
organize and add count
This commit is contained in:
parent
e7d87ee257
commit
2b6f3e630a
6 changed files with 6 additions and 7 deletions
7
.github/workflows/db.yml
vendored
7
.github/workflows/db.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: Database Sync
|
name: Stats Sync
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
@ -25,7 +25,10 @@ jobs:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
|
|
||||||
- name: Generate database
|
- name: Generate database
|
||||||
run: node dbgen.js > database.json
|
run: node scripts/dbgen.js > stats/database.json
|
||||||
|
|
||||||
|
- name: Count domains
|
||||||
|
run: ls domains | wc -l > stats/count.txt
|
||||||
|
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"cSpell.words": [
|
|
||||||
"dnscontrol"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
1
stats/count.txt
Normal file
1
stats/count.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
20
|
||||||
Loading…
Add table
Add a link
Reference in a new issue