From af62032bf60fa8fc7e3aa8ac510f15176375d9ee Mon Sep 17 00:00:00 2001 From: cheaterpaul Date: Sat, 30 Dec 2023 01:38:36 +0100 Subject: [PATCH] add workflow dispatch to update api --- .github/workflows/update_api.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_api.yml b/.github/workflows/update_api.yml index 12327ff53a..241ca067d7 100644 --- a/.github/workflows/update_api.yml +++ b/.github/workflows/update_api.yml @@ -1,12 +1,14 @@ name: Update API on: + push: branches: - ${{ github.event.repository.default_branch }} paths: - - 'src/main/resources/supporters.json' - - 'src/main/resources/default_remote_config.json' + - '**/src/main/resources/supporters.json' + - '**/src/main/resources/default_remote_config.json' + workflow_dispatch: jobs: upload: