mirror of
https://github.com/artegoser/piped-api.git
synced 2025-02-23 12:43:14 +03:00
doc: deploy docs
This commit is contained in:
parent
6e2eaa6785
commit
6475896ffd
5 changed files with 131 additions and 2 deletions
24
.github/workflows/doc-gen.yml
vendored
24
.github/workflows/doc-gen.yml
vendored
|
@ -1 +1,25 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue