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"