Skip to content

fixed branch where workflow run for vuepress #1

fixed branch where workflow run for vuepress

fixed branch where workflow run for vuepress #1

name: Deploy to GitHub pages
on:
push:
branches:
- main
release:
types:
- published
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20.15.1"
- name: Install and Build 🔧
run: |
cd documentation
npm install
npm run docs:build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: documentation/docs/.vuepress/dist # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch
CLEAN_EXCLUDE: '["version"]'