Skip to content

Commit 20671e7

Browse files
authored
Try some jekyll fixes (#349)
* install some deps for ruby; * Add cache back, it didnt make any difference
1 parent 13465c2 commit 20671e7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build-staging-website.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,20 @@ jobs:
4747
cat website/_config.yml
4848
shell: bash
4949

50+
# Install some dependencies to try and fix Ruby randomly crashing
51+
# Taken from https://github.com/sass/sassc-ruby/issues/146#issuecomment-771042986
52+
- name: Install some dependencies for Ruby
53+
run: |
54+
set -x \
55+
&& sudo apt update \
56+
&& sudo apt install -y --no-install-recommends \
57+
libffi-dev
58+
shell: bash
59+
5060
- name: 🔨 install dependencies & build site
5161
uses: limjh16/jekyll-action-ts@v2
5262
with:
53-
enable_cache: false
63+
enable_cache: true
5464
jekyll_src: website
5565

5666
# Then we need to prune any directories that don't match to currently active branches

0 commit comments

Comments
 (0)