mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
fix(ci): Trigger HyperBian build after release
This commit is contained in:
parent
a9ad9d920f
commit
67e0371cf5
9
.github/workflows/push-master.yml
vendored
9
.github/workflows/push-master.yml
vendored
@ -215,12 +215,3 @@ jobs:
|
|||||||
prerelease: ${{ env.preRelease }}
|
prerelease: ${{ env.preRelease }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# Dispatch event to build new HyperBian image
|
|
||||||
- name: Dispatch HyperBian build
|
|
||||||
uses: peter-evans/repository-dispatch@v1
|
|
||||||
if: ${{ github.repository_owner == 'hyperion-project'}}
|
|
||||||
with:
|
|
||||||
repository: hyperion-project/HyperBian
|
|
||||||
token: ${{ secrets.HYPERION_BOT_TOKEN }}
|
|
||||||
event-type: hyperion_push
|
|
||||||
|
17
.github/workflows/release.yml
vendored
Normal file
17
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: Release Actions
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
hyperbian:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
# Dispatch event to build new HyperBian image
|
||||||
|
- name: Dispatch HyperBian build
|
||||||
|
uses: peter-evans/repository-dispatch@v1
|
||||||
|
if: ${{ github.repository_owner == 'hyperion-project'}}
|
||||||
|
with:
|
||||||
|
repository: hyperion-project/HyperBian
|
||||||
|
token: ${{ secrets.HYPERION_BOT_TOKEN }}
|
||||||
|
event-type: hyperion_push
|
Loading…
Reference in New Issue
Block a user