Create docs building workflow
This commit is contained in:
parent
37704506bf
commit
a9f28cc58f
1 changed files with 24 additions and 0 deletions
24
docsbuild.yml
Normal file
24
docsbuild.yml
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
|
||||||
Loading…
Reference in a new issue