File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ name: GitHub Pages
33on :
44 push :
55 branches :
6- - master
6+ - main
77 pull_request :
88 branches :
9- - master
9+ - main
1010
1111jobs :
1212 deploy :
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
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ name: Node.js CI
66on :
77 push :
88 branches :
9- - master
9+ - main
1010 pull_request :
1111 branches :
12- - master
12+ - main
1313jobs :
1414 test :
1515 name : ' Test'
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import 'react-code-view/styles/react-code-view.css';
2121return < 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
You can’t perform that action at this time.
0 commit comments