From e83ff914283df9fc236421101f8a56689a3027ff Mon Sep 17 00:00:00 2001 From: Hans Dembinski Date: Thu, 15 Sep 2022 18:29:28 +0200 Subject: [PATCH] fix ci triggers --- .github/workflows/doc.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index ffe73bd..e4e5b25 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -3,7 +3,8 @@ name: doc on: pull_request: push: - branches: [main] + tags: + - '**' concurrency: group: ${{ github.workflow }}-${{ github.head_ref }} @@ -30,7 +31,7 @@ jobs: path: doc/_build/html deploy: - if: github.ref_type == 'tag' || github.ref_name == 'main' + if: github.ref_type == 'tag' needs: build # Set permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: