Skip to content

3.8.0

3.8.0 #8

Workflow file for this run

name: Deploy website
on:
push:
tags:
- '*'
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v1
with:
node-version: 14
- name: create package-lock.json
run: npm i --package-lock-only --ignore-scripts
- name: Install dependencies
run: npm ci
- name: build Docs
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.doc
force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'