production
186526 2023-02-06 03:00:00 +08:00
parent 725d221848
commit 2a6ab33589
4 changed files with 7 additions and 2 deletions

View File

@ -39,10 +39,11 @@ steps:
- name: update filter - name: update filter
image: debian:latest image: debian:latest
commands: commands:
- apt-get update -y && apt-get install bgpq4 -y - apt-get update -y && apt-get install bgpq4 git -y
- echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186)" > util/irr-filter.conf - echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186)" > util/irr-filter.conf
- echo "define $(bgpq4 -6bl DOWNSTREAM_PREFIXES AS-NET186)" >> util/irr-filter.conf - echo "define $(bgpq4 -6bl DOWNSTREAM_PREFIXES AS-NET186)" >> util/irr-filter.conf
- echo "net.186526.xyz" >> CNAME - echo "net.186526.xyz" >> CNAME
- git rm -f ansible
- name: push to repo - name: push to repo
image: appleboy/drone-git-push:0.2.3-linux-arm64 image: appleboy/drone-git-push:0.2.3-linux-arm64
settings: settings:

2
.gitmodules vendored Normal file
View File

@ -0,0 +1,2 @@
[submodule "ansible"]
url = https://git.186526.xyz/186526/net186-ansible

2
Gemfile Normal file
View File

@ -0,0 +1,2 @@
source "https://rubygems.org"
gem 'github-pages'

@ -1 +1 @@
Subproject commit 1f516e8b793fc247e6a8e6397ec3d713fd75d86e Subproject commit 5e2e1296d0f3fc87336aecfdb15ae067d263a3b1