Skip to content

Initial site skeleton #21

Initial site skeleton

Initial site skeleton #21

Workflow file for this run

name: Deploy PR previews
concurrency: preview-${{ github.ref }}
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
if: github.event.action != 'closed'
- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "/${{ github.event.repository.name }}/pr-preview/pr-${{ github.event.pull_request.number }}"
env:
JEKYLL_ENV: production
if: github.event.action != 'closed'
- name: Deploy PR Preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: _site
preview-branch: gh-pages
umbrella-dir: pr-preview
action: auto