Skip to content

Update dependency vite to v4.5.2 [SECURITY] - autoclosed #44

Update dependency vite to v4.5.2 [SECURITY] - autoclosed

Update dependency vite to v4.5.2 [SECURITY] - autoclosed #44

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@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install and Build
run: |
npm install
npm run prepare:ghpages
pwd
cp -R assets/images ghpages/images
# Reference: https://github.com/rossjrw/pr-preview-action
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./ghpages
umbrella-dir: pr