1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-15 00:02:24 +08:00

update scripts

This commit is contained in:
Septs 2020-07-21 00:22:03 +08:00
parent a4f73470bb
commit 49a44411e4
3 changed files with 3 additions and 5 deletions

View file

@ -1,6 +1,4 @@
# This is a basic workflow to help you get started with Actions name: Generator ROA
name: roa_generator
on: on:
push: push:

View file

@ -12,7 +12,7 @@ fi
source .venv/bin/activate source .venv/bin/activate
mkdir -p "generated" 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" -o roa46_bird2.conf
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -4 -o roa4_bird2.conf .scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -4 -o roa4_bird2.conf

View file

@ -2,7 +2,7 @@
set -xeuo pipefail set -xeuo pipefail
IFS=$'\n\t' IFS=$'\n\t'
pushed roa_dir pushd roa_dir
if [ -n "$SSHPRIVKEY" ]; then if [ -n "$SSHPRIVKEY" ]; then
echo SSHPRIVKEY is not set echo SSHPRIVKEY is not set
exit 1 exit 1