Skip to content

Commit 581c5d9

Browse files
committed
Rename default branch to main
1 parent fd0d3c9 commit 581c5d9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77
# Allow rebuilding/redeploying the web manually
88
workflow_dispatch:
@@ -52,7 +52,7 @@ jobs:
5252

5353
deploy:
5454
needs: [ build ]
55-
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
55+
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
5656
environment:
5757
name: github-pages
5858
permissions:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ Please read our [`CONTRIBUTING.md`](CONTRIBUTING.md) before submitting a PR!
3232

3333
### Deployment
3434

35-
www.rust-lang.org is currently hosted on GitHub Pages. The `master` branch is
35+
www.rust-lang.org is currently hosted on GitHub Pages. The `main` branch is
3636
automatically deployed to [www.rust-lang.org](https://www.rust-lang.org) after
3737
each push.

0 commit comments

Comments
 (0)