Skip to content

Commit e364bf6

Browse files
committed
"fix" pages action workflow
1 parent 1bb8954 commit e364bf6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pages.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,24 @@ jobs:
2929
url: ${{ steps.deployment.outputs.page_url }}
3030
runs-on: ubuntu-latest
3131
steps:
32-
- name: Checkout
3332
- uses: actions/checkout@v4
34-
- name: Build
3533
- uses: actions/setup-node@v4
3634
with:
3735
node-version: '20.x'
3836
registry-url: 'https://registry.npmjs.org'
37+
3938
- run: npm i
4039
- run: npm run build
40+
4141
- name: Setup Pages
4242
uses: actions/configure-pages@v5
43+
4344
- name: Upload artifact
4445
uses: actions/upload-pages-artifact@v3
4546
with:
46-
# Upload entire repository
47+
# Upload just the build directory
4748
path: 'build/'
49+
4850
- name: Deploy to GitHub Pages
4951
id: deployment
5052
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)