From a134f101dbf525fe751e1d8d4b2867d785665fc3 Mon Sep 17 00:00:00 2001 From: "Chan-Hoo.Jeon-NOAA" <60152248+chan-hoo@users.noreply.github.com> Date: Thu, 28 Mar 2024 06:23:48 -0400 Subject: [PATCH] Add docs-folder to git action yaml (#81) * add docs-folder to git action yaml * add cache call * remove run call * add setup-python * add python version * move path of setup-python * move setup-python back * change ver of alabaster * alabaster ver back to 0.7.16 * check python version * add setup-python * move setup_py to upper * add pre-build-command * change python version * check python availability * change python ver * test 3.9.x * change setup python path * add .python-version * check py versions * test another ver of python * alabaster to 0.7.13 * add pyenv-action * separate pyenv build * fix typo * python version to 3.9 * change master to dev * remove pre-build command * add build command --- .github/workflows/auto_doc.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto_doc.yml b/.github/workflows/auto_doc.yml index 218ed04e..348b28ca 100644 --- a/.github/workflows/auto_doc.yml +++ b/.github/workflows/auto_doc.yml @@ -13,9 +13,13 @@ jobs: contents: write steps: - uses: actions/checkout@v3 + - name: Build HTML - uses: ammaraskar/sphinx-action@master - + uses: ammaraskar/sphinx-action@dev + with: + docs-folder: "doc/" + build-command: "sphinx-build source build" + - name: Upload artifacts uses: actions/upload-artifact@v3 with: