From c3d4c2237bc6b3a1fe2d132927aa2183a235f353 Mon Sep 17 00:00:00 2001 From: Alan Konarski <129968242+akonarski-ds@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:23:19 +0200 Subject: [PATCH] chore: fix docs deployment (#89) --- .github/scripts/deploy_docs.sh | 4 +++- .github/workflows/documentation.yaml | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/scripts/deploy_docs.sh b/.github/scripts/deploy_docs.sh index 1ed347a9..9e5c9e27 100755 --- a/.github/scripts/deploy_docs.sh +++ b/.github/scripts/deploy_docs.sh @@ -1,6 +1,8 @@ #!/bin/bash -uv sync --only-dev +set -euxo pipefail + +uv sync echo $GCP_KEY | base64 -d >> gcp_creds.json gcloud auth activate-service-account --key-file gcp_creds.json diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 2b620ae7..3503f235 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -18,6 +18,10 @@ jobs: uses: astral-sh/setup-uv@v2 with: version: "0.4.20" + - name: Set up Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: 3.10 - name: Cache Dependencies uses: actions/cache@v3 with: