Skip to content

Commit 509eaea

Browse files
committed
Fix GitHub Actions workflow for Astro build
1 parent f95673e commit 509eaea

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,18 @@ jobs:
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v4
19+
- name: Setup Node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 18
23+
- name: Install dependencies
24+
run: npm ci
1925
- name: Build
20-
uses: withastro/action@v3
26+
run: npm run build
27+
- name: Upload artifact
28+
uses: actions/upload-pages-artifact@v2
29+
with:
30+
path: ./dist
2131

2232
deploy:
2333
needs: build

0 commit comments

Comments
 (0)