React to repo dispatch
This commit is contained in:
parent
33efafb420
commit
1bcdb1726e
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -2,6 +2,8 @@ name: Build FFmpeg
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push: []
|
push: []
|
||||||
|
repository_dispatch:
|
||||||
|
types: [build]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 12 * * *'
|
- cron: '0 12 * * *'
|
||||||
|
|
||||||
|
@ -93,7 +95,7 @@ jobs:
|
||||||
path: artifacts/*
|
path: artifacts/*
|
||||||
publish_release:
|
publish_release:
|
||||||
name: Publish release
|
name: Publish release
|
||||||
if: github.event_name == 'schedule'
|
if: github.event_name != 'push'
|
||||||
needs: build_ffmpeg
|
needs: build_ffmpeg
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue