From 2a6ab33589c10f4a2ab4d3c4da6c179c6f748e87 Mon Sep 17 00:00:00 2001 From: 186526 Date: Mon, 6 Feb 2023 03:00:00 +0800 Subject: [PATCH] update --- .drone.yml | 3 ++- .gitmodules | 2 ++ Gemfile | 2 ++ ansible | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .gitmodules create mode 100644 Gemfile 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