Skip to content

Commit 1dc7298

Browse files
committed
Perform commands from Makefile in CI
1 parent f7cffac commit 1dc7298

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,15 @@ jobs:
1313
uses: ruby/setup-ruby@v1.38.0
1414
with:
1515
ruby-version: 2.7
16-
- name: Bundle path
17-
run: |
18-
bundle config path .vendor/bundle
1916
- name: Cache Ruby deps
2017
uses: actions/cache@v2
2118
with:
22-
path: .vendor/bundle
19+
path: vendor/bundle
2320
key: ruby-deps-${{ hashFiles('**/Gemfile.lock') }}
2421
restore-keys: |
2522
ruby-deps-
2623
- name: Ruby deps
27-
run: gem install json kramdown jekyll bundler github-pages
28-
- name: Nokogiri deps
29-
run: sudo apt install -y pkg-config libxml2-dev libxslt-dev
30-
- name: Nokogiri
31-
run: gem install nokogiri -- --use-system-libraries
24+
run: gem install json kramdown jekyll bundler
3225
- name: Setup Python
3326
uses: actions/setup-python@v2
3427
with:
@@ -41,6 +34,10 @@ jobs:
4134
with:
4235
name: check-messages
4336
path: check-messages.txt
37+
- name: Nokogiri deps
38+
run: sudo apt install -y pkg-config libxml2-dev libxslt-dev
39+
- name: Site deps
40+
run: bundle install
4441
- name: Build site
45-
run: jekyll build
42+
run: bundle exec jekyll build
4643

0 commit comments

Comments
 (0)