Skip to content

Commit 4aeeb4a

Browse files
committed
ci: test webpage build in other branches
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
1 parent 22e4560 commit 4aeeb4a

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build-webpage.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
name: Build Webpage
22
on:
3+
workflow_dispatch:
34
push:
4-
branches: [main]
5+
branches-ignore: [release, main]
6+
tags-ignore:
7+
- "**"
58
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-paths
69
# if [[ ${changed_file} == "CHANGELOG.md" ]] || [[ ${changed_file} = screenshots* ]] || [[ ${changed_file} = webpage* ]] || [[ ${changed_file} = ".github/workflows/build-webpage.yml" ]] ;
710
paths:
11+
- "CHANGELOG.md"
12+
- "screenshots/**"
13+
- "webpage/**"
814
- ".github/workflows/build-webpage.yml"
915
pull_request:
10-
branches: [main]
16+
branches-ignore: [release]
1117
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-paths
1218
# if [[ ${changed_file} == "CHANGELOG.md" ]] || [[ ${changed_file} = screenshots* ]] || [[ ${changed_file} = webpage* ]] || [[ ${changed_file} = ".github/workflows/build-webpage.yml" ]] ;
1319
paths:

0 commit comments

Comments
 (0)