Skip to content

Commit

Permalink
fix ci triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Sep 15, 2022
1 parent a39d7fd commit e83ff91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: doc
on:
pull_request:
push:
branches: [main]
tags:
- '**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
Expand All @@ -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:
Expand Down

0 comments on commit e83ff91

Please sign in to comment.