From d8c4a5a0d07622c982a70875233888aed2c8a4c7 Mon Sep 17 00:00:00 2001 From: Lawrence Adu-Gyamfi Date: Fri, 18 Oct 2024 17:36:53 +0200 Subject: [PATCH 1/2] [FIX] fix poetry install in workflow --- .github/workflows/build_docs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index ddda5c2..b3826c6 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -3,10 +3,10 @@ name: Build Docs on: push: branches: - - main + - master pull_request: branches: - - main + - master workflow_dispatch: @@ -25,8 +25,8 @@ jobs: - name: Install Poetry run: | curl -sSL https://install.python-poetry.org | python3 - -y - echo "$HOME/.poetry/bin" >> $GITHUB_PATH - source $HOME/.poetry/env + echo "$HOME/.local/bin" >> $GITHUB_PATH + source $HOME/.local/env - name: Configure Poetry to not create virtualenvs run: poetry config virtualenvs.create false From 6a6ab783497308c1e671d1cc55d95f662a73d25e Mon Sep 17 00:00:00 2001 From: Lawrence Adu-Gyamfi Date: Fri, 18 Oct 2024 17:42:31 +0200 Subject: [PATCH 2/2] [FIX] remove error for poetry --- .github/workflows/build_docs.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index b3826c6..c3c3bb8 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -26,7 +26,6 @@ jobs: run: | curl -sSL https://install.python-poetry.org | python3 - -y echo "$HOME/.local/bin" >> $GITHUB_PATH - source $HOME/.local/env - name: Configure Poetry to not create virtualenvs run: poetry config virtualenvs.create false