Merge pull request #11 from hematogender/dev
Create a workflow for building documentation
This commit is contained in:
commit
0732c5a66c
2 changed files with 25 additions and 0 deletions
24
.github/workflows/docsbuild.yml
vendored
Normal file
24
.github/workflows/docsbuild.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: Build Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install ytmusicapi sphinx sphinx-rtd-theme
|
||||
- name: Build documentation
|
||||
run: |
|
||||
cd docs
|
||||
make html
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,4 +1,5 @@
|
|||
.idea
|
||||
.vscode
|
||||
headers_auth.json
|
||||
docs/build
|
||||
**.bat
|
||||
|
|
|
|||
Loading…
Reference in a new issue