@@ -21,59 +21,23 @@ concurrency:
21
21
group : " pages"
22
22
cancel-in-progress : false
23
23
24
+
24
25
jobs :
25
- node-modules :
26
+ # Build job
27
+ build :
26
28
runs-on : ubuntu-latest
27
29
steps :
28
- - uses : actions/setup-node@v4
29
- - run : |
30
- npm i react react-dom react-script create-react-app webpack
31
- - uses : actions/upload-artifact@v4
32
- name : " Upload Node Modules - v4"
33
- with :
34
- name : node_modules-v4
35
- path : node_modules
36
- - uses : actions/upload-artifact@v3
37
- name : " Upload Node Modules - v3"
38
- with :
39
- name : node_modules-v3
40
- path : node_modules
41
- - uses : actions/download-artifact@v4
42
- name : " Download Node Modules - v4"
43
- with :
44
- name : node_modules-v4
45
- path : node_modules-v4
46
- - uses : actions/download-artifact@v3
47
- name : " Download Node Modules - v3"
48
- with :
49
- name : node_modules-v3
50
- path : node_modules-v3
51
- big-artifact :
52
- runs-on : ubuntu-latest
53
- steps :
54
- - run : |
55
- dd if=/dev/urandom of=1gb-random bs=1M count=1000
56
- - uses : actions/upload-artifact@v4
57
- name : " Upload 1GB - v4"
58
- with :
59
- name : 1gb-v4
60
- path : 1gb-random
61
- compression-level : 0
62
- - uses : actions/upload-artifact@v3
63
- name : " Upload 1GB - v3"
64
- with :
65
- name : 1gb-v3
66
- path : 1gb-random
67
- - uses : actions/download-artifact@v4
68
- name : " Download 1GB - v4"
69
- with :
70
- name : 1gb-v4
71
- path : 1gb-v4
72
- - uses : actions/download-artifact@v3
73
- name : " Download 1GB - v3"
74
- with :
75
- name : 1gb-v3
76
- path : 1gb-v3
30
+ - name : Checkout
31
+ uses : actions/checkout@v3
32
+ - name : Setup Pages
33
+ uses : actions/configure-pages@v3
34
+ - name : Build with Jekyll
35
+ uses : actions/jekyll-build-pages@v1
36
+ with :
37
+ source : ./
38
+ destination : ./_site
39
+ - name : Upload artifact
40
+ uses : actions/upload-pages-artifact@v3
77
41
78
42
# Deployment job
79
43
deploy :
0 commit comments