Skip to content

Commit 74af154

Browse files
authored
Update jekyll-gh-pages.yml
1 parent 24aecb2 commit 74af154

File tree

1 file changed

+14
-50
lines changed

1 file changed

+14
-50
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 14 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -21,59 +21,23 @@ concurrency:
2121
group: "pages"
2222
cancel-in-progress: false
2323

24+
2425
jobs:
25-
node-modules:
26+
# Build job
27+
build:
2628
runs-on: ubuntu-latest
2729
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
7741

7842
# Deployment job
7943
deploy:

0 commit comments

Comments
 (0)