Skip to content

feat: blog setup

feat: blog setup #28

Workflow file for this run

name: Deploy PR previews
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
deploy-preview:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Install and Build
run: |
yarn
yarn build -- --base /pr-preview/pr-${{ github.event.pull_request.number }}/
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./dist/