Skip to content

Commit a0ac0a3

Browse files
authored
chore: branch master renamed to main (#36)
1 parent d021789 commit a0ac0a3

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: GitHub Pages
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
deploy:
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Deploy
3333
uses: peaceiris/actions-gh-pages@v3
34-
if: github.ref == 'refs/heads/master'
34+
if: github.ref == 'refs/heads/main'
3535
with:
3636
github_token: ${{ secrets.GITHUB_TOKEN }}
3737
publish_dir: ./docs/assets

.github/workflows/nodejs-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ name: Node.js CI
66
on:
77
push:
88
branches:
9-
- master
9+
- main
1010
pull_request:
1111
branches:
12-
- master
12+
- main
1313
jobs:
1414
test:
1515
name: 'Test'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ return (
8686
);
8787
```
8888

89-
The source code is written in markdown, refer to [example.md](https://raw.githubusercontent.com/simonguo/react-code-view/master/docs/example.md)
89+
The source code is written in markdown, refer to [example.md](https://raw.githubusercontent.com/simonguo/react-code-view/main/docs/example.md)
9090

9191
> Note: The code to be rendered must be placed between `<!--start-code-->` and `<!--end-code-->`
9292

docs/example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import 'react-code-view/styles/react-code-view.css';
2121
return <CodeView dependencies={{ Button }}>{require('./example.md')}</CodeView>;
2222
```
2323

24-
> See [example.md](https://github.com/simonguo/react-code-view/blob/master/docs/example.md)
24+
> See [example.md](https://github.com/simonguo/react-code-view/blob/main/docs/example.md)
2525
2626
## Example
2727

0 commit comments

Comments
 (0)