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