Skip to content

Commit b65415f

Browse files
need to
1 parent eba5b8e commit b65415f

File tree

1 file changed

+8
-20
lines changed

1 file changed

+8
-20
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,15 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515
steps:
16+
- uses: actions/checkout@v4
17+
- name: Fetch deps
18+
run: yarn
1619
- name: Build
17-
runs-on: ubuntu-latest
18-
19-
steps:
20-
- name: Checkout repo
21-
uses: actions/checkout@v3
22-
23-
- name: Setup Node
24-
uses: actions/setup-node@v3
25-
26-
- name: Install dependencies
27-
uses: bahmutov/npm-install@v1
28-
29-
- name: Build project
30-
run: npm run build
31-
32-
- name: Upload production-ready build files
33-
uses: actions/upload-artifact@v3
34-
with:
35-
name: production-files
36-
path: ./dist
20+
run: yarn build
21+
- name: Upload artifact
22+
uses: actions/upload-pages-artifact@v3
23+
with:
24+
path: ./dist
3725

3826
deploy:
3927
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)