From 0b7d117de91047b7b6e0a5b43d72c33395e9d0fb Mon Sep 17 00:00:00 2001 From: object-Object Date: Sat, 2 Sep 2023 15:41:12 -0400 Subject: [PATCH] Change checkout directory name --- .github/workflows/build_docs.yml | 6 +++--- .gitignore | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index c4522f8f..98f1a345 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -86,7 +86,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.branch }} - path: _branch_src + path: _checkout - name: Get hexdoc command and set build variables id: get-hexdoc-cmd @@ -94,8 +94,8 @@ jobs: if [[ '${{ steps.checkout-input.outcome }}' == 'skipped' ]]; then props='doc/properties.toml' else - props='_branch_src/doc/properties.toml' - echo "HATCH_GRADLE_DIR='_branch_src'" >> "$GITHUB_ENV" + props='_checkout/doc/properties.toml' + echo "HATCH_GRADLE_DIR='_checkout'" >> "$GITHUB_ENV" fi hexdoc="hexdoc $props --ci --is-release ${{ steps.check-release.outputs.release == true }} --update-latest ${{ github.event_name != 'workflow_dispatch' || inputs.update-latest }}" diff --git a/.gitignore b/.gitignore index 489bc54c..da3973d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # hexdoc doc/**/_export/generated/ -_site/ +/_site/ +/_checkout/ __gradle_version__.py # eclipse