Skip to content

update deploy action #16

update deploy action

update deploy action #16

Workflow file for this run

name: 'Deploy pages'
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
NODE_VERSION: 20.x
DOCS_FOLDER: docs
DOCS_VERSION_PATH: /
GITHUB_TOKEN: ${{secrets.GH_PAT}}
jobs:
pages:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install and rebuild API docs
run: |
npm install &&
npm run docs:build
- name: Deploy API documentation 🚀
uses: JamesIves/[email protected]
with:
token: ${{ env.GITHUB_TOKEN }}
branch: gh-pages
folder: docs/.vuepress/dist
target-folder: ${{ env.DOCS_VERSION_PATH }}
clean: true
clean-exclude: |
CNAME