Skip to content

move pr preview from surge to hidden pages #134

move pr preview from surge to hidden pages

move pr preview from surge to hidden pages #134

Workflow file for this run

name: Deploy PR CI
on:
pull_request
types:

Check failure on line 4 in .github/workflows/deploy-pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-pr.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
- opened
- reopened
- synchronize
- closed
permissions:
contents: write
pull-requests: write
jobs:
deploy-preview:
name: Deploy website PR review
concurrency: preview-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.5'
bundler-cache: true
- name: Build static site
run: bundle exec jekyll build
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: _site
preview-branch: gh-pages
umbrella-dir: pr-preview