Skip to content

[pre-commit.ci] pre-commit autoupdate #66

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #66

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: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install dependencies
run: bundle install
- name: Build Jekyll site
run: bundle exec jekyll build --baseurl '/pr-preview/pr-${{ github.event.number }}'
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./_site/
branch: gh-pages