Fixed "bundle" not found
All checks were successful
Deploy Jekyll site to Pages / build (push) Successful in 2m23s

This commit is contained in:
Florian Weber 2025-05-02 10:41:38 +00:00 committed by Gitea
parent b8231dccfc
commit d716858dc5
Signed by: Gitea
GPG Key ID: CAAFB340702C1B49

View File

@ -35,16 +35,18 @@ jobs:
gem install bundler jekyll webrick gem install bundler jekyll webrick
- name: Build with Jekyll - name: Build with Jekyll
run: | 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 bundle exec jekyll build --destination pages
env: env:
JEKYLL_ENV: production JEKYLL_ENV: production
- name: push pages - name: push pages
run: | run: |
cd pages && \ cd pages
cp ../.domains ./.domains && \ cp ../.domains ./.domains
git config user.name "${{ gitea.actor }}" && \ git config user.name "${{ gitea.actor }}"
git config user.email ""${{ gitea.actor }}"@noreply.git.morlana.online" && \ git config user.email ""${{ gitea.actor }}"@noreply.git.morlana.online"
git add . && \ git add .
git commit -m "jekyll build from Action ${GITHUB_SHA}" && \ git commit -m "jekyll build from Action ${GITHUB_SHA}"
git push git push