Skip to content

docs: update announcement links and callout for the beta release (#2027) #57

docs: update announcement links and callout for the beta release (#2027)

docs: update announcement links and callout for the beta release (#2027) #57

Workflow file for this run

name: Deploy Docs
permissions: {}
on:
push:
branches: [main]
paths:
- 'docs/**'
- 'packages/cli/install.sh'
- 'packages/cli/install.ps1'
- '.github/workflows/deploy-docs.yml'
workflow_dispatch:
concurrency:
group: deploy-docs
cancel-in-progress: false
defaults:
run:
shell: bash
jobs:
deploy:
if: github.repository == 'voidzero-dev/vite-plus'
runs-on: ubuntu-latest
permissions:
contents: read
env:
VOID_PROJECT: viteplus
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
- uses: voidzero-dev/setup-vp@13e7afb99c66525824db54e107d667216e795d37 # main
with:
cache: true
working-directory: docs
cache-dependency-path: docs/pnpm-lock.yaml
- name: Restore docs Vite Task cache
id: vite-task-cache
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: docs/node_modules/.vite/task-cache
key: vite-task-docs-${{ runner.os }}-${{ runner.arch }}-main-${{ github.sha }}
# Restore the latest main cache; Vite Task fingerprints decide reuse.
restore-keys: |
vite-task-docs-${{ runner.os }}-${{ runner.arch }}-main-
- run: vp run build
working-directory: docs
- name: Save docs Vite Task cache
if: success() && steps.vite-task-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: docs/node_modules/.vite/task-cache
key: ${{ steps.vite-task-cache.outputs.cache-primary-key }}
- run: vpx void deploy --dir docs/.vitepress/dist
env:
VOID_TOKEN: ${{ secrets.VOID_TOKEN }}