Switch to workflow_dispatch

This commit is contained in:
BtbN 2022-02-15 18:10:39 +01:00
parent 015beac49a
commit 915cbaa276

View file

@ -5,8 +5,13 @@ on:
paths-ignore: paths-ignore:
- '**.md' - '**.md'
- 'LICENSE' - 'LICENSE'
repository_dispatch: workflow_dispatch:
types: [build] inputs:
doRelease:
description: 'Publish new release'
type: boolean
default: false
required: false
schedule: schedule:
- cron: '0 12 * * *' - cron: '0 12 * * *'
@ -148,7 +153,7 @@ jobs:
path: artifacts/* path: artifacts/*
publish_release: publish_release:
name: Publish release name: Publish release
if: github.event_name != 'push' if: ${{ github.event_name == 'schedule' || github.event.inputs.doRelease == 'true' }}
needs: build_ffmpeg needs: build_ffmpeg
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: