mirror of
https://github.com/artegoser/piped-api.git
synced 2024-11-06 04:23:58 +03:00
25 lines
544 B
YAML
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
|