Skip to content

Commit

Permalink
fix: CI/CD (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishaga authored May 12, 2024
1 parent 5e6d5a9 commit 9d69361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:


build-doc:
if: github.event.pull_request.merged == true
if: ${{ github.ref == 'refs/heads/main' }}
needs:
- lint
- test
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:


deploy-doc:
if: github.event.pull_request.merged == true
if: ${{ github.ref == 'refs/heads/main' }}
needs: build-doc
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 9d69361

Please sign in to comment.