From c70b2d8b05adcb9fad51911863386f9ba47da895 Mon Sep 17 00:00:00 2001 From: Saturn&Eric Date: Mon, 9 May 2022 06:17:47 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cf800e1d..23533717 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,10 @@ name: Doxygen GitHub Pages Deploy Action on: - schedule: - - cron: '30 4 ? * *' push: branches: [ main, 'develop' ] + repository_dispatch: + types: [code_push] jobs: deploy: @@ -14,6 +14,7 @@ jobs: with: repository: saturneric/GpgFrontend submodules: recursive + ref: ${{ github.event.client_payload.message.branch }} path: GpgFrontend - uses: actions/checkout@v3