Skip to content

ci: Update publish workflow #25

ci: Update publish workflow

ci: Update publish workflow #25

Workflow file for this run

name: docs
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install dependencies
run: npm install
- name: Build docs
run: npm run docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
clean: true