File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and Deploy a Jekyll Site to GitHub Pages
2
-
3
2
on :
4
3
push :
5
4
branches :
6
5
- main
7
-
8
6
jobs :
9
7
jekyll :
10
8
runs-on : ubuntu-latest
11
9
steps :
12
10
- name : 📂 setup
13
11
uses : actions/checkout@v2
14
-
15
12
# include the lines below if you are using jekyll-last-modified-at
16
13
# or if you would otherwise need to fetch the full commit history
17
14
# however this may be very slow for large repositories!
@@ -21,24 +18,24 @@ jobs:
21
18
uses : ruby/setup-ruby@v1
22
19
with :
23
20
bundler-cache : false # runs 'bundle install' and caches installed gems automatically
24
-
25
-
21
+ # Install ImageMagick for rmagick gem
22
+ - name : 🖼️ Install ImageMagick
23
+ run : |
24
+ sudo apt-get update
25
+ sudo apt-get install -y libmagickwand-dev imagemagick
26
26
# See https://github.com/bglw/jekyll-postcss-v2 for example GitHub Action
27
27
# Install Node as this is needed for PostCSS
28
28
- name : Setup Node
29
29
uses : actions/setup-node@v2
30
30
with :
31
31
node-version : ' 14'
32
-
33
32
# Install PostCSS plugins (from your package.json)
34
33
- name : npm install
35
34
run : npm install
36
-
37
35
- name : 🔨 install dependencies & build site
38
36
uses : limjh16/jekyll-action-ts@v2
39
37
with :
40
38
enable_cache : false
41
-
42
39
- name : 🚀 deploy
43
40
uses : peaceiris/actions-gh-pages@v3
44
41
with :
You can’t perform that action at this time.
0 commit comments