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

update scripts

This commit is contained in:
Septs 2020-07-21 00:49:25 +08:00
parent a02d823306
commit 4f4b41b923
2 changed files with 2 additions and 2 deletions

View file

@ -29,6 +29,6 @@ jobs:
run: .scripts/generate-roa.sh run: .scripts/generate-roa.sh
- name: Push to NeoCloud/NeoNetwork-ROA - name: Push to NeoCloud/NeoNetwork-ROA
run: .scripts/push-to-roa.sh
env: env:
SSHPRIVKEY: ${{ secrets.KEY }} SSHPRIVKEY: ${{ secrets.KEY }}
run: .scripts/push-to-roa.sh

View file

@ -2,7 +2,7 @@
set -euo pipefail set -euo pipefail
IFS=$'\n\t' IFS=$'\n\t'
if [ -n "$SSHPRIVKEY" ]; then if [ ! -n "$SSHPRIVKEY" ]; then
echo SSHPRIVKEY is not set echo SSHPRIVKEY is not set
exit 1 exit 1
fi fi