feat: update beta bot only on 'dev' branch
This commit is contained in:
parent
3107a0b5fd
commit
985043cca5
14
.github/workflows/beta-bot.yml
vendored
Normal file
14
.github/workflows/beta-bot.yml
vendored
Normal file
@ -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 }}
|
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@ -27,9 +27,3 @@ 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
|
||||||
- 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 }}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user