Skip to content

Commit

Permalink
Only deploy gh-pages on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
AnHeuermann committed Feb 1, 2024
1 parent f660c99 commit 7c75ad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'main'
- 'releases/*'
tags:
- '*'
- 'v*'
pull_request:

jobs:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
needs: test-action
permissions:
contents: write
if: ${{ always() }}
if: startsWith(github.ref, 'refs/tags/v')
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest

Expand Down

0 comments on commit 7c75ad1

Please sign in to comment.