diff --git a/.drone.yml b/.drone.yml index 2adfe8a..4aa0fb4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -39,10 +39,11 @@ steps: - name: update filter image: debian:latest 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 -6bl DOWNSTREAM_PREFIXES AS-NET186)" >> util/irr-filter.conf - echo "net.186526.xyz" >> CNAME + - git rm -f ansible - name: push to repo image: appleboy/drone-git-push:0.2.3-linux-arm64 settings: diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..f0cf9a2 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,2 @@ +[submodule "ansible"] + url = https://git.186526.xyz/186526/net186-ansible diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..bce2436 --- /dev/null +++ b/Gemfile @@ -0,0 +1,2 @@ +source "https://rubygems.org" +gem 'github-pages' \ No newline at end of file diff --git a/ansible b/ansible index 1f516e8..5e2e129 160000 --- a/ansible +++ b/ansible @@ -1 +1 @@ -Subproject commit 1f516e8b793fc247e6a8e6397ec3d713fd75d86e +Subproject commit 5e2e1296d0f3fc87336aecfdb15ae067d263a3b1