ci: add workflow_dispatch event

> You can now create workflows that are manually triggered with the new workflow_dispatch event.
> You will then see a 'Run workflow' button on the Actions tab, enabling you to easily trigger a run.
> You can choose which branch the workflow is run on.

https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
This commit is contained in:
Shohei Ueda 2020-07-07 16:06:26 +09:00 committed by GitHub
parent b882ee3b2a
commit 4dfc201b55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@ name: Purge image cache
on: on:
schedule: schedule:
- cron: '54 18 * * */7' - cron: '54 18 * * */7'
workflow_dispatch:
jobs: jobs:
purge: purge: