Skip to content

release: 2.3.2

release: 2.3.2 #52

Workflow file for this run

name: Publish docs
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup NodeJS Environment
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install project dependencies
run: yarn install --pure-lockfile
- name: Update gh-pages
run: |
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
git config user.name github-actions
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
rm -f docs/.nojekyll
yarn build:docs
touch docs/.nojekyll
yarn publish:docs -m 'chore: build docs' -t