mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
feat: update beta bot only on 'dev' branch
This commit is contained in:
parent
3107a0b5fd
commit
985043cca5
2 changed files with 14 additions and 6 deletions
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…
Add table
Add a link
Reference in a new issue