Skip to content

DO Not merge/closed it (demo app for auto-renew e2e tests) #42

DO Not merge/closed it (demo app for auto-renew e2e tests)

DO Not merge/closed it (demo app for auto-renew e2e tests) #42

Workflow file for this run

# This workflow will generate the static page under `pr` subdirectory inside the `gh-pages` branch
# This workflow will run every time there's a PR opened, reopened, synchronize, or closed
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@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install and Build
run: |
yarn install
yarn prepare:ghpages
# Reference: https://github.com/rossjrw/pr-preview-action
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./ghpages/
umbrella-dir: pr