From d716858dc5aa118c1aba57910557a0f1a49131c6 Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Fri, 2 May 2025 10:41:38 +0000 Subject: [PATCH] Fixed "bundle" not found --- .gitea/workflows/pages-deploy.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/pages-deploy.yaml b/.gitea/workflows/pages-deploy.yaml index 4aef021..a2f93c6 100644 --- a/.gitea/workflows/pages-deploy.yaml +++ b/.gitea/workflows/pages-deploy.yaml @@ -35,16 +35,18 @@ jobs: gem install bundler jekyll webrick - name: Build with Jekyll run: | - bundle install && \ + source /etc/profile.d/rvm.sh + rvm use $RUBY_VERSION && ruby -v && gem -v + bundle install bundle exec jekyll build --destination pages env: JEKYLL_ENV: production - name: push pages run: | - cd pages && \ - cp ../.domains ./.domains && \ - git config user.name "${{ gitea.actor }}" && \ - git config user.email ""${{ gitea.actor }}"@noreply.git.morlana.online" && \ - git add . && \ - git commit -m "jekyll build from Action ${GITHUB_SHA}" && \ + cd pages + cp ../.domains ./.domains + git config user.name "${{ gitea.actor }}" + git config user.email ""${{ gitea.actor }}"@noreply.git.morlana.online" + git add . + git commit -m "jekyll build from Action ${GITHUB_SHA}" git push