diff --git a/.github/workflows/build-alpine.yml b/.github/workflows/build-alpine.yml index 5b64375..916dd03 100644 --- a/.github/workflows/build-alpine.yml +++ b/.github/workflows/build-alpine.yml @@ -77,4 +77,11 @@ jobs: uses: actions/upload-artifact@v3 with: name: cpu-check-alpine - path: alpine_build/*.apk \ No newline at end of file + path: alpine_build/*.apk + + - name: Upload to Gitea Alpine Package Registry + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + run: | + curl --user "eric:df299a6e592a8bd829d018b7816e76d03756408d" \ + --upload-file alpine_build/cpu-check-${{ env.PKG_VERSION }}-r${{ env.PKG_RELEASE }}.apk \ + "https://git.ericxliu.me/api/packages/eric/alpine/v3.17/main" \ No newline at end of file