Skip to content

Commit f99e27f

Browse files
committed
feat: run docs pipeline on all branches
1 parent eb286eb commit f99e27f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- '**' # Run on all branches for build/test
78
workflow_dispatch:
89

910
jobs:
@@ -40,6 +41,7 @@ jobs:
4041

4142
# 4. Deployment zu gh-pages (peaceiris action, wie im Demo-Repo)
4243
- name: Deploy to GitHub Pages
44+
if: github.ref == 'refs/heads/main'
4345
uses: peaceiris/actions-gh-pages@v3
4446
with:
4547
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)