From 8e0354b162e633cdca7e25eb329e394e126a67a9 Mon Sep 17 00:00:00 2001 From: Alexander Weiss Date: Mon, 1 Aug 2022 22:12:52 +0200 Subject: [PATCH] CI: release beta builds to github.com/rustic-rs/rustic-beta --- .github/workflows/release.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 134b6f9..9e4e057 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -97,7 +97,15 @@ jobs: else shasum -a 256 $RELEASE_NAME.tar.gz > $RELEASE_NAME.sha256 fi - - name: Releasing assets + - name: Releasing beta builds + if: ${{ github.ref == 'refs/heads/main' }} + uses: leigholiver/commit-with-deploy-key@v1.0.3 + with: + source: target/${{ matrix.job.target }}/release/rustic-rs-*.tar.gz + destination_folder: beta + destination_repo: rustic-rs/rustic-beta + deploy_key: ${{ secrets.BETA_RELEASE_KEY }} + - name: Releasing release versions uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: