diff --git a/docsbuild.yml b/docsbuild.yml new file mode 100644 index 0000000..e9d4c87 --- /dev/null +++ b/docsbuild.yml @@ -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 \ No newline at end of file