Run workflow on workflow_dispatch event

pull/7/head 202010270452
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
1 changed files with 2 additions and 2 deletions

View File

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