Skip to content

Push error handling to debug failing ci #13

Push error handling to debug failing ci

Push error handling to debug failing ci #13

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: ${{ github.token }}
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: ${{ env.DOCS_FOLDER }}/.vuepress/dist
target-folder: ${{ env.DOCS_VERSION_PATH }}
clean: true
clean-exclude: |
CNAME