We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bfeb1d commit d9e6c46Copy full SHA for d9e6c46
.github/workflows/deploy.yml
@@ -0,0 +1,33 @@
1
+name: Deploy Docusaurus to GitHub Pages
2
+
3
+env:
4
+ NODE_OPTIONS: --max_old_space_size=4096
5
6
+on:
7
+ push:
8
+ branches:
9
+ - main
10
11
+jobs:
12
+ deploy:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v4
17
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: 18
22
23
+ - name: Install dependencies
24
+ run: npm ci
25
26
+ - name: Build website
27
+ run: npm run build
28
29
+ - name: Deploy to GitHub Pages
30
+ uses: peaceiris/actions-gh-pages@v4
31
32
+ github_token: ${{ secrets.GITHUB_TOKEN }}
33
+ publish_dir: ./build
0 commit comments