diff --git a/.github/workflows/beta-bot.yml b/.github/workflows/beta-bot.yml new file mode 100644 index 00000000..e9f34a8b --- /dev/null +++ b/.github/workflows/beta-bot.yml @@ -0,0 +1,14 @@ +name: "Update Beta Bot" +on: + push: + branches: [dev] + +jobs: + update-bot: + runs-on: ubuntu-latest + steps: + - name: "Update Beta Bot" + uses: fjogeleit/http-request-action@master + with: + url: https://api-beta.pluralkit.me/v1/update + bearerToken: ${{ secrets.WATCHTOWER_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e5df9996..8dbcdc7c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -27,9 +27,3 @@ jobs: ghcr.io/xske/pluralkit:latest cache-from: type=registry,ref=ghcr.io/xske/pluralkit:${{ env.BRANCH_NAME }} cache-to: type=inline - - name: "Update Beta Bot" - if: contains(github.ref, 'main') - uses: fjogeleit/http-request-action@master - with: - url: https://api-beta.pluralkit.me/v1/update - bearerToken: ${{ secrets.WATCHTOWER_TOKEN }}