File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
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+ - github-pages
7+ # paths:
8+ # - 'docs/**'
9+ # pull_request:
10+ # branches:
11+ # - main
12+ # release:
13+ # types:
14+ # - published
15+ # workflow_call:
16+ # workflow_dispatch:
17+
18+ jobs :
19+ deploy :
20+ runs-on : ubuntu-latest
21+ permissions :
22+ contents : write
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v4
26+ - name : Setup Node.js
27+ uses : actions/setup-node@v4
28+ with :
29+ node-version : 20
30+ cache : npm
31+ - name : Install dependencies
32+ working-directory : ./docs
33+ run : npm ci
34+ - name : Build Docusaurus site
35+ working-directory : ./docs
36+ run : npm run build
37+ - name : Deploy to GitHub Pages
38+ uses : peaceiris/actions-gh-pages@v3
39+ with :
40+ github_token : ${{ secrets.GITHUB_TOKEN }}
41+ publish_dir : ./docs/build
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ const config: Config = {
2020 } ,
2121
2222 // Set the production url of your site here
23- url : albert_api_url ,
23+ url : 'https://etalab-ia.github.io' ,
2424 // Set the /<baseUrl>/ pathname under which your site is served
2525 // For GitHub pages deployment, it is often '/<projectName>/'
26- baseUrl : baseUrl ,
26+ baseUrl : '/OpenGateLLM/' ,
2727
2828 // GitHub pages deployment config.
2929 // If you aren't using GitHub pages, you don't need these.
You can’t perform that action at this time.
0 commit comments