diff options
| author | loyalsoldier <[email protected]> | 2021-09-03 14:57:27 +0800 |
|---|---|---|
| committer | loyalsoldier <[email protected]> | 2021-09-03 15:00:14 +0800 |
| commit | 56982c83987f73c729f35fda716c6a9bf09f3127 (patch) | |
| tree | ec37e7f319b1863af6b244ca19f6a21288a35f6a | |
| parent | b91618db1ef9d7df67c2cd1cd5588d9d529436f0 (diff) | |
Fix: geoip-asn.dat & text output
| -rw-r--r-- | .github/workflows/build.yml | 5 | ||||
| -rw-r--r-- | config.json | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d12f2c1d..2543e072 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,7 +84,8 @@ jobs: - name: Move files to publish directory run: | mkdir -p publish - mv ./output/dat/*.dat ./output/dat/*.sha256sum ./output/maxmind/*.mmdb ./output/maxmind/*.sha256sum ./output/text/*.txt *.gz *.zip ./publish/ + mv ./output/dat/*.dat ./output/dat/*.sha256sum ./output/maxmind/*.mmdb ./output/maxmind/*.sha256sum *.gz *.zip ./publish/ + cp -fpPR ./output/text ./publish - name: Git push assets to "release" branch run: | @@ -106,7 +107,7 @@ jobs: done - name: Remove some files to avoid publishing to GitHub release - run: rm -f ./publish/*.{gz,zip,txt} + run: rm -rf ./publish/*.{gz,zip} ./publish/text - name: Upload files to GitHub release uses: svenstaro/upload-release-action@v2 diff --git a/config.json b/config.json index 02f4a3cb..1e49784b 100644 --- a/config.json +++ b/config.json @@ -67,8 +67,10 @@ "cloudfront", "facebook", "fastly", + "google", "netflix", - "telegram" + "telegram", + "twitter" ] } }, @@ -105,8 +107,10 @@ "cloudfront", "facebook", "fastly", + "google", "netflix", - "telegram" + "telegram", + "twitter" ] } } |
