From 3570998284d66c2403d8fc82ea6022b44011a1a2 Mon Sep 17 00:00:00 2001 From: "skllzrmy.tez" Date: Tue, 24 Oct 2023 00:36:09 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(sphinx=5Fdocs.yml):=20upda?= =?UTF-8?q?te=20Sphinx=20installation=20step=20to=20also=20install=20sphin?= =?UTF-8?q?x=5Frtd=5Ftheme=20for=20better=20documentation=20styling=20?= =?UTF-8?q?=F0=9F=94=8D=20test(sphinx=5Fdocs.yml):=20add=20step=20to=20lis?= =?UTF-8?q?t=20files=20in=20=5Fbuild=20directory=20to=20verify=20successfu?= =?UTF-8?q?l=20build=20=F0=9F=9A=80=20feat(sphinx=5Fdocs.yml):=20update=20?= =?UTF-8?q?deployment=20step=20to=20use=20GITHUB=5FTOKEN=20secret=20instea?= =?UTF-8?q?d=20of=20REPO=5FTOKEN=20for=20better=20security?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/sphinx_docs.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sphinx_docs.yml b/.github/workflows/sphinx_docs.yml index 72afab0..c5207ba 100644 --- a/.github/workflows/sphinx_docs.yml +++ b/.github/workflows/sphinx_docs.yml @@ -18,14 +18,19 @@ jobs: with: python-version: "3.x" - - name: Install Sphinx - run: pip install Sphinx + - name: Install Sphinx and Theme + run: | + pip install Sphinx + pip install sphinx_rtd_theme - name: Build Docs run: | cd docs make html + - name: List files in _build + run: ls -R ./docs/_build/html + - name: Check Symlinks run: find ./docs/_build/html -type l @@ -51,5 +56,5 @@ jobs: id: deployment uses: actions/deploy-pages@v2 with: - token: ${{ secrets.REPO_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} artifact_name: github-pages