Skip to content

Test change

Test change #11

Workflow file for this run

name: Deploy PR previews
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
deploy-preview:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "$${{ github.event.pull_request.number }}"
env:
JEKYLL_ENV: production
# - name: Build Jekyll site
# uses: fabacab/jekyll-builder-for-github-pages-action@v1
# with:
# jekyll_build_opts: baseurl pr-preview/$${{ github.event.pull_request.number }}
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./_site