File tree Expand file tree Collapse file tree 2 files changed +34
-3
lines changed
Expand file tree Collapse file tree 2 files changed +34
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Docusaurus to GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v4
14+
15+ - name : Setup Node.js
16+ uses : actions/setup-node@v4
17+ with :
18+ node-version : ' 18'
19+
20+ - name : Install dependencies
21+ run : npm ci
22+
23+ - name : Build website
24+ run : npm run build
25+
26+ - name : Deploy to GitHub Pages
27+ uses : peaceiris/actions-gh-pages@v4
28+ with :
29+ github_token : ${{ secrets.GITHUB_TOKEN }}
30+ publish_dir : ./build
31+ cname : galio.io
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ const config: Config = {
1717 } ,
1818
1919 // Set the production url of your site here
20- url : 'https://your-docusaurus-site.example.com ' ,
20+ url : 'https://galio.io ' ,
2121 // Set the /<baseUrl>/ pathname under which your site is served
2222 // For GitHub pages deployment, it is often '/<projectName>/'
2323 baseUrl : '/' ,
2424
2525 // GitHub pages deployment config.
2626 // If you aren't using GitHub pages, you don't need these.
27- organizationName : 'st-miki' , // Usually your GitHub org/user name.
28- projectName : 'Galio' , // Usually your repo name.
27+ organizationName : 'galio-org' ,
28+ projectName : 'galio-org.github.io' ,
2929
3030 onBrokenLinks : 'throw' ,
3131 onBrokenMarkdownLinks : 'warn' ,
You can’t perform that action at this time.
0 commit comments