Skip to content

Merge pull request #19073 from shamser/issue32479 #415

Merge pull request #19073 from shamser/issue32479

Merge pull request #19073 from shamser/issue32479 #415

Workflow file for this run

name: Deploy vitepress content to Pages
on:
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# Build job
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 16
- run: npm ci
- run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./devdoc/.vitepress/dist
force_orphan: true
# cname: example.com # if wanna deploy to custom domain
env:
CI: true