Skip to content

Commit e9c8001

Browse files
Update deploy.yml
1 parent c75f204 commit e9c8001

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

Diff for: .github/workflows/deploy.yml

+1-25
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,7 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: Checkout Repository
12-
uses: actions/checkout@v3
13-
14-
- name: Setup Node.js
15-
uses: actions/setup-node@v3
16-
17-
- name: Install Dependencies
18-
run: yarn install
19-
20-
- name: Build Project
21-
run: yarn build
22-
23-
- name: Upload Build Artifacts
24-
uses: actions/upload-artifact@v4
25-
with:
26-
name: build-output
27-
path: ./dist
9+
uses: ./.github/workflows/build.yml
2810

2911
deploy:
3012
needs: build
@@ -33,12 +15,6 @@ jobs:
3315
- name: Checkout Repository
3416
uses: actions/checkout@v3
3517

36-
- name: Download Build Artifacts
37-
uses: actions/download-artifact@v4
38-
with:
39-
name: build-output
40-
path: ./dist
41-
4218
- name: Deploy to GitHub Pages
4319
uses: peaceiris/actions-gh-pages@v4
4420
with:

0 commit comments

Comments
 (0)