Skip to content

Commit

Permalink
Add both main and master branches
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Feb 16, 2024
1 parent 05b1b0a commit bf12349
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: docs-build
on:
pull_request:
branches:
- {{cookiecutter.github_default_branch}}
- main
- master

jobs:
deploy:
Expand Down
3 changes: 2 additions & 1 deletion {{cookiecutter.github_repo_name}}/.github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: docs
on:
push:
branches:
- {{ cookiecutter.github_default_branch }}
- main
- master
jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
on:
push:
branches:
- {{cookiecutter.github_default_branch}}
- main
- master
pull_request:
branches:
- {{cookiecutter.github_default_branch}}
- main
- master


name: Linux installation
Expand Down
6 changes: 4 additions & 2 deletions {{cookiecutter.github_repo_name}}/.github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
on:
push:
branches:
- {{cookiecutter.github_default_branch}}
- main
- master
pull_request:
branches:
- {{cookiecutter.github_default_branch}}
- main
- master
{% raw %}
name: macOS build
jobs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
on:
push:
branches:
- {{cookiecutter.github_default_branch}}
- main
- master
pull_request:
branches:
- {{cookiecutter.github_default_branch}}
- main
- master
{% raw %}
name: Linux build
jobs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
on:
push:
branches:
- {{ cookiecutter.github_default_branch }}
- main
- master
pull_request:
branches:
- {{ cookiecutter.github_default_branch }}
- main
- master

name: Windows build
jobs:
Expand Down

0 comments on commit bf12349

Please sign in to comment.