mirror of
https://github.com/artegoser/piped-api.git
synced 2024-11-22 03:06:21 +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:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
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
|
||||
uses: actions/checkout@v3
|
||||
- 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
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: docs
|
||||
|
|
Loading…
Add table
Reference in a new issue