Skip to content

Commit

Permalink
new: push zone file to cos
Browse files Browse the repository at this point in the history
  • Loading branch information
Potat0000 committed Dec 17, 2023
1 parent f9ca784 commit 3cc8386
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ jobs:
local_path: 'monitor-metadata'
remote_path: 'as'
clean: true
- name: Upload Zone to COS
timeout-minutes: 5
uses: TencentCloud/cos-action@v1
with:
secret_id: ${{ secrets.TENCENT_CLOUD_SECRET_ID }}
secret_key: ${{ secrets.TENCENT_CLOUD_SECRET_KEY }}
cos_bucket: ${{ secrets.COS_BUCKET }}
cos_region: ${{ secrets.COS_REGION }}
local_path: 'metadata-repo/dn11.zone'
remote_path: 'dn11.zone'
clean: false
- name: Upload Bird2 ROA to COS
timeout-minutes: 5
uses: TencentCloud/cos-action@v1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
- ROA
- Bird2 风格 ([GitHub](https://raw.githubusercontent.com/hdu-dn11/metadata/main/dn11_roa_bird2.conf) / [Tencent COS](https://metadata.dn11.baimeow.cn/dn11_roa_bird2.conf))
- GoRTR 风格 ([GitHub](https://raw.githubusercontent.com/hdu-dn11/metadata/main/dn11_roa_gortr.json) / [Tencent COS](https://metadata.dn11.baimeow.cn/dn11_roa_gortr.json))
- Zone 文件 ([GitHub](https://raw.githubusercontent.com/hdu-dn11/metadata/main/dn11.zone))
- Zone 文件 ([GitHub](https://raw.githubusercontent.com/hdu-dn11/metadata/main/dn11.zone) / [Tencent COS](https://metadata.dn11.baimeow.cn/dn11.zone))

## How

Expand Down

0 comments on commit 3cc8386

Please sign in to comment.