Skip to content

Deploy Docs

Deploy Docs #98

Workflow file for this run

name: Deploy Docs
permissions: {}
# Deploys production viteplus.dev, which also serves install.sh / install.ps1
# behind https://vite.plus. Runs from release.yml after a stable release is
# published, or manually here for urgent updates. Pushes to main deploy to
# main.viteplus.dev via deploy-docs-main.yml instead.
# See rfcs/deploy-docs-on-release.md.
on:
workflow_dispatch:
# Shared with the deploy-docs job in release.yml so production deploys
# serialize across both entry paths. GitHub keeps only the newest pending run
# in the group (a queued deploy replaces a pending one), so production
# converges to the newest queued content; the running deploy always completes.
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
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
- uses: ./.github/actions/deploy-docs
with:
void-project: viteplus
void-token: ${{ secrets.VOID_TOKEN }}