Skip to content

Commit

Permalink
Add pull request previews
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperg committed Jul 4, 2023
1 parent 28634d1 commit a3620b3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pr-previews.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy PR previews

on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed

concurrency: preview-${{ github.ref }}

jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build
uses: actions/jekyll-build-pages@v1
with:
destination: ./build
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./build/

0 comments on commit a3620b3

Please sign in to comment.