Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating workflows to reference main branch, not master #317

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Tests & Lints
on:
push:
branches: [master]
branches: [main]
pull_request:
# Check all PR

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build website
on:
push:
branches: [master]
branches: [main]
tags: ['v*']
pull_request:
# Check all PR
Expand Down Expand Up @@ -42,8 +42,8 @@ jobs:
cp -r docs/build/html/ gh-pages/docs/
rm -f gh-pages/examples/.gitignore
- name: deploy website to gh-pages
# only deploy website from master
if: github.ref == 'refs/heads/master'
# only deploy website from main
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Python wheel

on:
push:
branches: [master]
branches: [main]
tags: '*'
pull_request:
# Check all PR
Expand Down