From 6dc8c141564bc81a207692af04b7c159ec82f126 Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Fri, 15 Nov 2024 01:39:59 +0100 Subject: [PATCH] fixed ruby handling --- .gitea/workflows/pages-deploy.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/pages-deploy.yaml b/.gitea/workflows/pages-deploy.yaml index 8f097f0..833f5af 100644 --- a/.gitea/workflows/pages-deploy.yaml +++ b/.gitea/workflows/pages-deploy.yaml @@ -50,7 +50,7 @@ jobs: curl -sSL https://get.rvm.io | bash -s stable && \ source /etc/profile.d/rvm.sh && \ rvm mount -r https://raw.morlana.online/morlana/rvm-binaries/@binaries/ubuntu/22.04/aarch64/ruby-$RUBY_VERSION.tar.bz2 && \ - rvm use RUBY_VERSION && ruby -v && gem -v && \ + rvm use $RUBY_VERSION && ruby -v && gem -v && \ gem install bundler jekyll webrick - name: Setup Node uses: actions/setup-node@v4 @@ -62,8 +62,7 @@ jobs: # Outputs to the './_site' directory by default run: | source /etc/profile.d/rvm.sh && \ - rvm use $RUBY_VERSION && \ - ruby -v && gem -v && \ + rvm use $RUBY_VERSION && ruby -v && gem -v && \ bundle install && \ bundle exec jekyll build --destination pages env: