From fb1c319decac9e4ed4c1dba961a290845b6727ac Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Wed, 13 Nov 2024 15:59:47 +0100 Subject: [PATCH] try installing ruby manually --- .gitea/workflows/pages-deploy.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/pages-deploy.yaml b/.gitea/workflows/pages-deploy.yaml index 91c862b..d8e3e0f 100644 --- a/.gitea/workflows/pages-deploy.yaml +++ b/.gitea/workflows/pages-deploy.yaml @@ -40,11 +40,10 @@ jobs: ref: 'pages' path: 'pages' - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.3.5' # Not needed with a .ruby-version file - bundler-cache: true # runs 'bundle install' and caches installed gems automatically - cache-version: 0 # Increment this number if you need to re-download cached gems + run: | + apt-get update && \ + apt-get install ruby-full build-essential zlib1g-dev -y && \ + gem install bundler jekyll webrick - name: Build with Jekyll # Outputs to the './_site' directory by default run: bundle exec jekyll build --destination pages