Skip to content

Commit 41e513b

Browse files
committed
fix workflow
1 parent e214572 commit 41e513b

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,20 @@ jobs:
2424
registry-url: 'https://registry.npmjs.org'
2525
cache: 'npm'
2626

27-
- name: Build dependencies
28-
run: |
29-
npm i
30-
npm run build
31-
env:
32-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
27+
- name: Configure Pages
28+
uses: actions/configure-pages@v5
29+
30+
- name: install dependencies
31+
run: npm i
32+
33+
- name: install dependencies
34+
run: npm run build
35+
36+
- name: Upload artifact
37+
uses: actions/upload-pages-artifact@v3
38+
with:
39+
# Upload entire repository
40+
path: '.'
3341

3442
# Deploy job
3543
deploy:

0 commit comments

Comments
 (0)