Skip to content

Merge pull request #256 from mitre/delta-addons #166

Merge pull request #256 from mitre/delta-addons

Merge pull request #256 from mitre/delta-addons #166

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy-gh-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Build VuePress site
run: npm ci && npm run docs:build
env:
GITHUB_DEPLOY: "true"
- name: Deploy Docs
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: src/.vuepress/dist/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_DEPLOY: "true"