Skip to content

Commit 15a4755

Browse files
committed
updated pages.yml
1 parent 6921690 commit 15a4755

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/pages.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
# pull_request:
7-
# type: [opened, reopened, synchronize]
86

97
jobs:
108
jekyll_build:
@@ -13,15 +11,23 @@ jobs:
1311
BUNDLE_GEMFILE: ${{ github.workspace }}/docs/Gemfile
1412
steps:
1513
- uses: actions/checkout@v3
16-
- uses: ruby/setup-ruby@v1
14+
- name: Set up Ruby
15+
uses: ruby/setup-ruby@v1
1716
with:
1817
ruby-version: '3.1'
1918
bundler-cache: true
20-
- name: Update RubyGems
21-
run: gem update --system 3.3.3
22-
- name: Bundle Install
19+
- name: Update system and install dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y build-essential libcurl4-openssl-dev
23+
- name: Update RubyGems and Bundler
24+
run: |
25+
gem update --system
26+
gem install bundler
27+
- name: Install dependencies
2328
run: |
2429
cd docs
30+
bundle config set --local path 'vendor/bundle'
2531
bundle install
2632
- name: Build Jekyll site
2733
run: bundle exec jekyll build -s docs -d _site --config docs/_config_local.yml

0 commit comments

Comments
 (0)