Skip to content

Commit e1f7d84

Browse files
committed
test-deploy v.4
1 parent 2de4b1c commit e1f7d84

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/test-deployment.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branchs:
66
- test-deploy
77
jobs:
8-
build-and-deploy:
8+
build:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
@@ -20,3 +20,17 @@ jobs:
2020
run: |
2121
yarn install
2222
yarn run build-main
23+
- name: Get production artifact
24+
uses: actions/upload-artifact@v4
25+
with:
26+
name: production-build
27+
path: dist
28+
deploy:
29+
runs-on: ubuntu-latest
30+
needs: build
31+
steps:
32+
- name Deploy production articfact
33+
uses: actions/download-artifact@v4
34+
with:
35+
name: production-build
36+

0 commit comments

Comments
 (0)