fix: only deploy to beta bot from main branch

This commit is contained in:
spiral 2021-11-30 19:04:04 -05:00
parent bd166502cc
commit a26fc4fd6c
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -28,6 +28,7 @@ jobs:
cache-from: type=registry,ref=ghcr.io/xske/pluralkit:${{ env.BRANCH_NAME }} cache-from: type=registry,ref=ghcr.io/xske/pluralkit:${{ env.BRANCH_NAME }}
cache-to: type=inline cache-to: type=inline
- name: "Update Beta Bot" - name: "Update Beta Bot"
if: contains(github.ref, "main")
uses: fjogeleit/http-request-action@master uses: fjogeleit/http-request-action@master
with: with:
url: https://api-beta.pluralkit.me/v1/update url: https://api-beta.pluralkit.me/v1/update