Skip to content

chore: mark gitlab-storage plugin as DEPRECATED and add Box Storage m… #279

chore: mark gitlab-storage plugin as DEPRECATED and add Box Storage m…

chore: mark gitlab-storage plugin as DEPRECATED and add Box Storage m… #279

Workflow file for this run

name: Deploy VitePress Docs
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 20
cache: npm
- name: Cache dependencies
uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Install dependencies
run: npm ci
- name: Build VitePress
run: npm run docs:build
- name: Upload build artifact
if: github.event_name == 'pull_request'
uses: actions/upload-pages-artifact@v5
with:
path: .vitepress/dist
deploy:
needs: build
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:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5