piped-api/.github/workflows/doc-gen.yml

26 lines
544 B
YAML
Raw Normal View History

2023-08-09 09:49:36 +03:00
name: Deploy docs
on:
push:
branches: [main]
2023-08-09 09:37:12 +03:00
2023-08-09 09:49:36 +03:00
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