Skip to content

Refine Jekyll workflow bundle install configuration #84

Refine Jekyll workflow bundle install configuration

Refine Jekyll workflow bundle install configuration #84

Workflow file for this run

name: Deploy Jekyll site to Pages
on:
push:
branches: ["test"]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
gem install bundler
bundle install --path vendor/bundle --without development test
- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4