Skip to content

Merge remote-tracking branch 'origin/master' #210

Merge remote-tracking branch 'origin/master'

Merge remote-tracking branch 'origin/master' #210

name: CI Deploy Docs
on:
workflow_dispatch: {}
push:
branches:
- master
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 16
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install
run: npm install
env:
NODE_AUTH_TOKEN: ${{secrets.PERSONAL_TOKEN}}
- name: Build
run: npm run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4