Skip to content

Commit 3bb80ce

Browse files
committed
fix
1 parent 926a707 commit 3bb80ce

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/static.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ permissions:
1010
jobs:
1111
build_and_deploy:
1212
runs-on: ubuntu-latest
13+
14+
defaults:
15+
run:
16+
working-directory: htmltoolkit
17+
1318
steps:
1419
- name: Checkout repo
1520
uses: actions/checkout@v4
@@ -20,13 +25,13 @@ jobs:
2025
node-version: 20
2126

2227
- name: Install dependencies
23-
run: cd htmltoolkit && npm ci
28+
run: npm ci
2429

2530
- name: Build the site
2631
run: npm run build
2732

2833
- name: Deploy to GitHub Pages
2934
uses: JamesIves/github-pages-deploy-action@v4
3035
with:
31-
branch: gh-pages # target branch
32-
folder: build # output folder from `adapter-static`
36+
branch: gh-pages # Target branch
37+
folder: htmltoolkit/build # Path from root to built site

0 commit comments

Comments
 (0)