feat: better way to auto-deploy to beta bot
This commit is contained in:
parent
318b9b5b66
commit
d2f29bbb51
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user