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

23 lines
464 B
YAML
Raw Normal View History

2023-08-09 09:49:36 +03:00
name: Deploy docs
on:
push:
branches: [main]
2023-08-09 10:05:44 +03:00
permissions:
contents: write
2023-08-09 09:49:36 +03:00
jobs:
deploy:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout
2023-08-09 10:05:44 +03:00
uses: actions/checkout@v3
2023-08-09 09:49:36 +03:00
- name: Install dependencies
run: npm i
- name: Build docs
run: npm run docs
- name: Deploy docs
2023-08-09 10:05:44 +03:00
uses: JamesIves/github-pages-deploy-action@v4
2023-08-09 09:49:36 +03:00
with:
branch: gh-pages
folder: docs