Skip to content

Commit 39320b2

Browse files
authored
Merge pull request #77 from TraGicCode/chore/fix-gh-pages-deployment
Fix gh pages deployment for the main website
2 parents 1d150f8 + 6ca20d1 commit 39320b2

File tree

1 file changed

+9
-22
lines changed

1 file changed

+9
-22
lines changed

.github/workflows/docs_deploy.yml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "🦕 Docusaurus Documentation Website"
1+
name: "🦕 Docusaurus Documentation Website"
22

33
on:
44
push:
@@ -21,35 +21,22 @@ jobs:
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@v6
24-
24+
2525
- name: Setup Node.js
2626
uses: actions/setup-node@v6
2727
with:
2828
node-version: 22
2929
cache: npm
3030
cache-dependency-path: website/package-lock.json
31-
31+
3232
- name: Install dependencies
3333
run: npm ci
34-
34+
3535
- name: Build website
3636
run: npm run build
37-
38-
- name: Setup Pages
39-
uses: actions/configure-pages@v5
40-
41-
- name: Upload artifact
42-
uses: actions/upload-pages-artifact@v4
37+
38+
- name: Deploy Site
39+
uses: JamesIves/github-pages-deploy-action@v4
4340
with:
44-
path: ./website/build/
45-
46-
deploy:
47-
environment:
48-
name: github-pages
49-
url: ${{ steps.deployment.outputs.page_url }}
50-
runs-on: ubuntu-latest
51-
needs: build
52-
steps:
53-
- name: Deploy to GitHub Pages
54-
id: deployment
55-
uses: actions/deploy-pages@v4
41+
folder: ./website/build/
42+
single-commit: true

0 commit comments

Comments
 (0)