piped-api/.github/workflows/doc-gen.yml
2023-08-09 10:05:44 +03:00

22 lines
464 B
YAML

name: Deploy docs
on:
push:
branches: [main]
permissions:
contents: write
jobs:
deploy:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm i
- name: Build docs
run: npm run docs
- name: Deploy docs
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs