From 4ef5289afe42279aa7fd9eb7a8e027f01af9b7da Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Tue, 27 Oct 2020 12:49:38 +0800 Subject: [PATCH] Run workflow on workflow_dispatch event --- .github/workflows/{build.yml => run.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{build.yml => run.yml} (98%) diff --git a/.github/workflows/build.yml b/.github/workflows/run.yml similarity index 98% rename from .github/workflows/build.yml rename to .github/workflows/run.yml index 18049ba..005027f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/run.yml @@ -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