Skip to content

Commit

Permalink
Rename master branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Sep 15, 2024
1 parent db06183 commit 1a9f2ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- master
- main

jobs:
deploy:
Expand All @@ -16,7 +16,7 @@ jobs:
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'
mdbook-version: "latest"

- name: Build
run: mdbook build
Expand All @@ -30,7 +30,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/html
force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
# Only deploy on a push to master, not on a pull request.
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'Veykril/tlborm'
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
# Only deploy on a push to main, not on a pull request.
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'Veykril/tlborm'

0 comments on commit 1a9f2ec

Please sign in to comment.