From 96f90934c203a4c312d7a9a0a8da66cc55ca4b63 Mon Sep 17 00:00:00 2001 From: "Mindermann, Kennedy" Date: Thu, 11 Apr 2024 15:25:52 -0500 Subject: [PATCH] use absolute path for changing directories --- .github/workflows/build-docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index a29589e..db874c8 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -39,9 +39,9 @@ jobs: - name: Set variables for public github repo run: | echo "BASE_URL=https://github.com/NREL/ReEDS-2.0" >> $GITHUB_ENV - cd docs/sources/documentation_tools + cd ${GITHUB_WORKSPACE}/docs/source/documentation_tools/ sh generate_sources_md_file.sh - cd ../../../ + cd ${GITHUB_WORKSPACE} python docs/source/documentation_tools/generate_markdown.py --githubURL "https://github.com/NREL/ReEDS-2.0/blob/main" --reedsPath "${GITHUB_WORKSPACE}" - name: Build Sphinx documentation