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