From cf6ca79eed44652d5ed269b2c7123a9105e9812d Mon Sep 17 00:00:00 2001 From: Jess Date: Sun, 9 Jun 2024 03:34:00 +0100 Subject: [PATCH] maybe fix it --- .forgejo/workflows/build-server.yml | 2 +- push_file.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build-server.yml b/.forgejo/workflows/build-server.yml index 31f455b..0f33638 100644 --- a/.forgejo/workflows/build-server.yml +++ b/.forgejo/workflows/build-server.yml @@ -34,4 +34,4 @@ jobs: env: GPG_PRIVATEKEY: ${{ secrets.GPG_PRIVATEKEY }} BB_HOST: ${{ vars.BB_HOST }} - run: bash push_file.sh Server/build/proguard/BaseBand-Server.jar 3847 + run: bash push_file.sh Server/build/libs/BaseBand-Server.jar 3847 diff --git a/push_file.sh b/push_file.sh index ec2fb5a..1115897 100644 --- a/push_file.sh +++ b/push_file.sh @@ -10,6 +10,6 @@ NCOP="$(./nc -h 2>&1 | grep EOF | sed -E "s/.*\W(-.).*/\1/g" | head -n1)" echo "$GPG_PRIVATEKEY" | gpg --import ( - gpg -sear BaseBand -u BaseBand < $1 + gpg --trust-model always -sear BaseBand -u BaseBand < $1 sleep 1 -) | ./nc $NCOP $BB_HOST $2 \ No newline at end of file +) | ./nc $NCOP $BB_HOST $2