Move docsbuild.yml to workflows folder
This commit is contained in:
parent
a9f28cc58f
commit
00de10f338
1 changed files with 0 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
|
||||
Loading…
Reference in a new issue