24 lines
No EOL
479 B
YAML
24 lines
No EOL
479 B
YAML
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 |