Skip to content

Commit bc68f5d

Browse files
authored
Another try to fix deployment (#85)
1 parent 409e3e7 commit bc68f5d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/static.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,30 +25,34 @@ jobs:
2525
environment:
2626
name: github-pages
2727
url: ${{ steps.deployment.outputs.page_url }}
28+
2829
runs-on: ubuntu-latest
30+
2931
steps:
3032
- name: Checkout
3133
uses: actions/checkout@v3
3234

3335
- name: Set up Node.js
34-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3537
with:
3638
node-version: 21.x
3739
cache: yarn
3840
cache-dependency-path: ./package-lock.json
41+
3942
- name: Install dependencies
4043
run: yarn install --frozen-lockfile --non-interactive
44+
4145
- name: Build
4246
run: yarn run build
4347

4448
- name: Setup Pages
4549
uses: actions/configure-pages@v5
50+
4651
- name: Upload artifact
47-
uses: actions/upload-artifact@v4
52+
uses: actions/upload-pages-artifact@v3
4853
with:
49-
name: github-pages
50-
path:
51-
build
54+
path: build
55+
5256
- name: Deploy to GitHub Pages
5357
id: deployment
54-
uses: actions/deploy-pages@v4
58+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)