Skip to content

Commit

Permalink
install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
xesf committed Sep 29, 2024
1 parent c9b4fd5 commit efb45b5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: false # runs 'bundle install' and caches installed gems automatically

- name: Install bundle and jeckyll
run: gem install jekyll bundler

- name: Install dependencies
run: bundle install

- name: Build with Jekyll
run: bundle exec jekyll build
10 changes: 10 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,29 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: false # runs 'bundle install' and caches installed gems automatically

- name: Setup Pages
id: pages
uses: actions/configure-pages@v5

- name: Install bundle and jeckyll
run: gem install jekyll bundler

- name: Install dependencies
run: bundle install

- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production

- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit efb45b5

Please sign in to comment.