Skip to content

Commit

Permalink
trigger jobs on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Nov 15, 2022
1 parent 0354735 commit b791575
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: build docs
on:
push:
branches:
- 'master'
- 'main'
- 'release/*'
tags:
- 'v*'
Expand All @@ -25,7 +25,7 @@ jobs:
env:
DISPLAY: ':99.0'
OS: ${{ matrix.os }}
UPLOAD_TO_GHPAGES: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}
UPLOAD_TO_GHPAGES: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
steps:
- uses: actions/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Run mypy and pytest
on:
push:
branches:
- 'master'
- 'main'
- 'release/*'
- 'staging'
- 'trying'
Expand Down

0 comments on commit b791575

Please sign in to comment.