mirror of
https://github.com/artegoser/piped-api.git
synced 2024-11-22 11:16:20 +03:00
doc: fix workflow
This commit is contained in:
parent
d744b80f94
commit
33d64ddfa1
1 changed files with 4 additions and 7 deletions
11
.github/workflows/doc-gen.yml
vendored
11
.github/workflows/doc-gen.yml
vendored
|
@ -2,24 +2,21 @@ name: Deploy docs
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
name: Deploy docs
|
name: Deploy docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 14.x
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm i
|
run: npm i
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: npm run docs
|
run: npm run docs
|
||||||
- name: Deploy docs
|
- name: Deploy docs
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.9
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: docs
|
folder: docs
|
||||||
|
|
Loading…
Add table
Reference in a new issue