feat: better way to auto-deploy to beta bot

This commit is contained in:
spiral 2021-11-28 18:37:50 -05:00
parent 318b9b5b66
commit d2f29bbb51
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -27,4 +27,8 @@ jobs:
ghcr.io/xske/pluralkit:latest ghcr.io/xske/pluralkit:latest
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
- run: "curl https://api-beta.pluralkit.me/v1/update -H 'Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}'" - name: "Update Beta Bot"
uses: fjogeleit/http-request-action@master
with:
url: https://api-beta.pluralkit.me/v1/update
bearerToken: ${{ secrets.WATCHTOWER_TOKEN }}