Run workflow on workflow_dispatch event

This commit is contained in:
Loyalsoldier 2020-10-27 12:49:38 +08:00 committed by loyalsoldier
parent 12b0214a27
commit 4ef5289afe
No known key found for this signature in database
GPG Key ID: 23829BBC1ACF2C90

View File

@ -1,5 +1,6 @@
name: Generate RULE-SET for Premium Edition of Clash
on:
workflow_dispatch:
schedule:
- cron: "30 22 * * *"
push:
@ -9,7 +10,6 @@ on:
- "**/README.md"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set variables
@ -95,4 +95,4 @@ jobs:
git add .
git commit -m "${{ env.RELEASE_NAME }}"
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
git push -f -u origin release
git push -f origin release