piped-api/.github/workflows/doc-gen.yml
2023-08-09 09:49:36 +03:00

25 lines
544 B
YAML

name: Deploy docs
on:
push:
branches: [main]
jobs:
deploy:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Install dependencies
run: npm i
- name: Build docs
run: npm run docs
- name: Deploy docs
uses: JamesIves/github-pages-deploy-action@4.1.9
with:
branch: gh-pages
folder: docs