Skip to content

Commit

Permalink
chore: change default branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
MikkCZ committed May 4, 2024
1 parent fbc27b4 commit f56dbdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build
on:
push:
branches:
- master
- main
pull_request:
workflow_dispatch: # allows to be run manually
workflow_call: # when called from another workflow
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy to GitHub Pages
on:
push:
branches:
- master
- main
workflow_dispatch: # allows to be run manually

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Expand All @@ -21,7 +21,7 @@ jobs:
build:
uses: ./.github/workflows/build.yml
deploy:
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
needs: build
environment:
name: github-pages
Expand Down

0 comments on commit f56dbdc

Please sign in to comment.