Skip to content

Commit 0bc8624

Browse files
Update jekyll-github-pages.yml
add rmagick
1 parent 1b20020 commit 0bc8624

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
name: Build and Deploy a Jekyll Site to GitHub Pages
2-
32
on:
43
push:
54
branches:
65
- main
7-
86
jobs:
97
jekyll:
108
runs-on: ubuntu-latest
119
steps:
1210
- name: 📂 setup
1311
uses: actions/checkout@v2
14-
1512
# include the lines below if you are using jekyll-last-modified-at
1613
# or if you would otherwise need to fetch the full commit history
1714
# however this may be very slow for large repositories!
@@ -21,24 +18,24 @@ jobs:
2118
uses: ruby/setup-ruby@v1
2219
with:
2320
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
2626
# See https://github.com/bglw/jekyll-postcss-v2 for example GitHub Action
2727
# Install Node as this is needed for PostCSS
2828
- name: Setup Node
2929
uses: actions/setup-node@v2
3030
with:
3131
node-version: '14'
32-
3332
# Install PostCSS plugins (from your package.json)
3433
- name: npm install
3534
run: npm install
36-
3735
- name: 🔨 install dependencies & build site
3836
uses: limjh16/jekyll-action-ts@v2
3937
with:
4038
enable_cache: false
41-
4239
- name: 🚀 deploy
4340
uses: peaceiris/actions-gh-pages@v3
4441
with:

0 commit comments

Comments
 (0)