React to repo dispatch

This commit is contained in:
BtbN 2020-09-07 02:38:49 +02:00
parent 33efafb420
commit 1bcdb1726e

View file

@ -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: