Skip to content

Merge pull request #21 from web-tech-tw/docs #4

Merge pull request #21 from web-tech-tw/docs

Merge pull request #21 from web-tech-tw/docs #4

Workflow file for this run

name: Docs workflow
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Specific Node.js version 🦄
uses: actions/setup-node@v3
with:
node-version: 20
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build 📎
run: |
npm install
npm run docs:build
- name: Deploy Docs 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/.vitepress/dist