From 6053d3f768a37eab0fcc2d9110d72a12d45c4494 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Mon, 21 Oct 2024 21:38:26 -0300 Subject: [PATCH] Added setup-python step to build (#2792) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: George Araรบjo --- .github/workflows/deploy.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 85b7edffcbad..51a32af9f187 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -67,11 +67,16 @@ jobs: steps: - name: Checkout ๐Ÿ›Ž๏ธ uses: actions/checkout@v4 - - name: Setup Ruby + - name: Setup Ruby ๐Ÿ’Ž uses: ruby/setup-ruby@v1 with: - ruby-version: "3.2.2" + ruby-version: "3.3.5" bundler-cache: true + - name: Setup Python ๐Ÿ + uses: actions/setup-python@v5 + with: + python-version: "3.13" + cache: "pip" # caching pip dependencies - name: Update _config.yml โš™๏ธ uses: fjogeleit/yaml-update-action@main with: @@ -81,7 +86,7 @@ jobs: value: ${{ github.repository }} - name: Install and Build ๐Ÿ”ง run: | - pip3 install --upgrade jupyter + pip3 install --upgrade nbconvert export JEKYLL_ENV=production bundle exec jekyll build - name: Purge unused CSS ๐Ÿงน