From 11fd274926f4092c208168724b032c8cace131c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Hordy=C5=84ski?= Date: Wed, 3 Apr 2024 14:04:02 +0200 Subject: [PATCH] Add docs generation --- .github/workflows/documentation.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 298ce311..be7f555d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -6,8 +6,7 @@ on: jobs: pages: - runs-on: ubuntu-latest - container: python:3.11 + runs-on: gcr.io/google.com/cloudsdktool/google-cloud-cli:latest permissions: contents: write steps: @@ -27,10 +26,6 @@ jobs: run: . ./setup_dev_env.sh - name: Build docs - run: ./build_docs.sh - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./public + run: | + source venv/bin/activate + ./.github/scripts/build_docs.sh