Skip to content

Commit 4405d74

Browse files
committed
ci: Fix build docs
1 parent f53d6b5 commit 4405d74

File tree

2 files changed

+22
-46
lines changed

2 files changed

+22
-46
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,25 @@ jobs:
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
52+
deploy:
53+
environment:
54+
name: github-pages
55+
url: ${{ steps.deployment.outputs.page_url }}
56+
runs-on: ubuntu-latest
57+
steps:
58+
- name: Checkout
59+
uses: actions/checkout@v4
60+
- name: 'Install depependencies'
61+
run: npm install --force
62+
- name: Build docs
63+
run: npm run build_docs
64+
- name: Setup Pages
65+
uses: actions/configure-pages@v5
66+
- name: Upload artifact
67+
uses: actions/upload-pages-artifact@v3
68+
with:
69+
# Upload entire repository
70+
path: './docs'
71+
- name: Deploy to GitHub Pages
72+
id: deployment
73+
uses: actions/deploy-pages@v4

.github/workflows/static.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)