Skip to content

Bump vite from 4.1.4 to 4.5.2 #81

Bump vite from 4.1.4 to 4.5.2

Bump vite from 4.1.4 to 4.5.2 #81

name: Deploy
on:
workflow_dispatch: {}
push:
branches:
- "**"
jobs:
build:
if: "github.ref != 'refs/heads/main'"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '19'
cache: npm
- name: Install dependencies
run: make prepare-ci
- name: Build
run: make build
deploy:
if: "github.ref == 'refs/heads/main'"
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '19'
cache: npm
- run: make prepare-ci
- name: Build
run: make build
- uses: actions/configure-pages@v2
- uses: actions/upload-pages-artifact@v1
with:
path: docs/.vitepress/dist
- name: Deploy
id: deployment
uses: actions/deploy-pages@v1