From 1f23999c10a3e560cdbcc932b711785cfe5aa320 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Mon, 30 Oct 2023 09:29:48 +0530 Subject: [PATCH] fix: re-enable bin publishing with 73DAC973A9ADBB9ADCB5CDC4595A08135BA9FF73 GPG key --- .github/workflows/linux.yml | 12 ++++++------ scripts/publish.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index bceb6372..dcfd6664 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -129,12 +129,12 @@ jobs: if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'mCaptcha/mCaptcha' run: make docker-publish - # - name: publish bins - # if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'mCaptcha/mCaptcha' - # run: ./scripts/publish.sh publish master latest $DUMBSERVE_PASSWORD - # env: - # DUMBSERVE_PASSWORD: ${{ secrets.DUMBSERVE_PASSWORD }} - # GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }} + - name: publish bins + if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'mCaptcha/mCaptcha' + run: ./scripts/publish.sh publish master latest $DUMBSERVE_PASSWORD + env: + DUMBSERVE_PASSWORD: ${{ secrets.DUMBSERVE_PASSWORD }} + GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }} - name: generate documentation if: matrix.version == 'stable' && (github.repository == 'mCaptcha/mCaptcha') diff --git a/scripts/publish.sh b/scripts/publish.sh index 7326f203..ff3c294d 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -17,7 +17,7 @@ DUMBSERVE_PASSWORD=$4 DUMBSERVE_HOST="https://$DUMBSERVE_USERNAME:$DUMBSERVE_PASSWORD@dl.mcaptcha.org" NAME=mcaptcha -KEY=0CBABF3084E84E867A76709750BE39D10ECE01FB +KEY=73DAC973A9ADBB9ADCB5CDC4595A08135BA9FF73 TMP_DIR=$(mktemp -d) FILENAME="$NAME-$2-linux-amd64"