Skip to content

Commit 8e287f7

Browse files
committed
Fix: move workflow to root and update paths
1 parent e9881ee commit 8e287f7

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

InterDataEngine-docs/.github/workflows/deploy.yml renamed to .github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,23 @@ jobs:
2828
with:
2929
node-version: 20
3030
cache: npm
31+
cache-dependency-path: InterDataEngine-docs/package-lock.json
3132

3233
- name: Setup Pages
3334
uses: actions/configure-pages@v4
3435

3536
- name: Install dependencies
3637
run: npm ci
38+
working-directory: InterDataEngine-docs
3739

3840
- name: Build with VitePress
3941
run: npm run build
42+
working-directory: InterDataEngine-docs
4043

4144
- name: Upload artifact
4245
uses: actions/upload-pages-artifact@v3
4346
with:
44-
path: .vitepress/dist
47+
path: InterDataEngine-docs/.vitepress/dist
4548

4649
deploy:
4750
environment:

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
.vitepress/dist/
6+
.vitepress/cache/
7+
8+
# Editor directories
9+
.idea/
10+
.vscode/
11+
*.swp
12+
*.swo
13+
*~
14+
15+
# OS files
16+
.DS_Store
17+
Thumbs.db
18+
19+
# Logs
20+
*.log
21+
npm-debug.log*

0 commit comments

Comments
 (0)