From 49a44411e4e9e8059c1b1926fe2933fb33cf47f2 Mon Sep 17 00:00:00 2001 From: Septs Date: Tue, 21 Jul 2020 00:22:03 +0800 Subject: [PATCH] update scripts --- .github/workflows/roa.yml | 4 +--- .scripts/generate-roa.sh | 2 +- .scripts/push-to-roa.sh | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/roa.yml b/.github/workflows/roa.yml index 7d6e33a..551407b 100644 --- a/.github/workflows/roa.yml +++ b/.github/workflows/roa.yml @@ -1,6 +1,4 @@ -# This is a basic workflow to help you get started with Actions - -name: roa_generator +name: Generator ROA on: push: diff --git a/.scripts/generate-roa.sh b/.scripts/generate-roa.sh index a66ea30..55ba700 100755 --- a/.scripts/generate-roa.sh +++ b/.scripts/generate-roa.sh @@ -12,7 +12,7 @@ fi source .venv/bin/activate mkdir -p "generated" -pushed generated +pushd generated .scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -o roa46_bird2.conf .scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -4 -o roa4_bird2.conf diff --git a/.scripts/push-to-roa.sh b/.scripts/push-to-roa.sh index 1554522..fb4f123 100755 --- a/.scripts/push-to-roa.sh +++ b/.scripts/push-to-roa.sh @@ -2,7 +2,7 @@ set -xeuo pipefail IFS=$'\n\t' -pushed roa_dir +pushd roa_dir if [ -n "$SSHPRIVKEY" ]; then echo SSHPRIVKEY is not set exit 1