Skip to content

chore: v8.0.1

chore: v8.0.1 #60

Workflow file for this run

name: Deploy docs
on:
workflow_dispatch:
push:
branches:
- main
tags-ignore:
- '**'
paths:
- '.github/workflows/ci_docs.yml'
- 'projects/docs/**'
concurrency:
group: deploy-docs-group-${{ github.ref }}
cancel-in-progress: true
jobs:
ci_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: latest
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: projects/docs/package-lock.json
- name: Install latest npm
run: npm install -g npm@latest
- name: Build docs
working-directory: projects/docs
run: |
npm clean-install --engine-strict
npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}
publish_dir: ./projects/docs/build
user_name: dsi-hug-bot
user_email: [email protected]