Skip to content

Commit 6413b6c

Browse files
authored
Refactor deploy.yml to improve installation steps
Updated dependencies and installation commands in the deploy workflow.
1 parent d230d2e commit 6413b6c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,12 @@ jobs:
9292
run: bundle clean --force
9393
- name: Install and Build 🔧
9494
run: |
95-
sudo apt-get install -y build-essential patch ruby-dev zlib1g-dev
96-
sudo apt-get update && sudo apt-get install -y imagemagick
97-
pip3 install --upgrade nbconvert
98-
sudo apt-get update
95+
sudo apt-get install -y build-essential patch ruby-dev zlib1g-dev liblzma-dev libxml2-dev libxslt1-dev pkg-config libffi-dev libgmp-dev libssl-dev
96+
sudo apt-get install -y imagemagick pip3 install --upgrade nbconvert
9997
export JEKYLL_ENV=production
100-
bundle clean --force || true
98+
rm -rf vendor/bundle || true bundle clean --force || true
10199
bundle install --jobs 4 --retry 3 --path vendor/bundle --verbose
102-
bundle exec jekyll build
100+
bundle exec jekyll build --trace
103101
- name: Purge unused CSS 🧹
104102
run: |
105103
npm install -g purgecss

0 commit comments

Comments
 (0)