Refactor Ruby setup in pages-deploy.yaml for improved readability and add renovate.json configuration file
All checks were successful
Deploy Jekyll site to Pages / build (push) Successful in 2m27s
All checks were successful
Deploy Jekyll site to Pages / build (push) Successful in 2m27s
This commit is contained in:
parent
2e57f3a034
commit
c7bb074b1d
@ -28,28 +28,29 @@ jobs:
|
|||||||
path: "pages"
|
path: "pages"
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
run: |
|
run: |
|
||||||
apt-get update && \
|
apt-get update
|
||||||
apt-get install curl wget tar build-essential zlib1g-dev gpg -y && \
|
apt-get install curl wget tar build-essential zlib1g-dev gpg -y
|
||||||
curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \
|
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
|
||||||
curl -sSL https://rvm.io/pkuczynski.asc | gpg --import - && \
|
curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
|
||||||
curl -sSL https://get.rvm.io | bash -s stable && \
|
curl -sSL https://get.rvm.io | bash -s stable
|
||||||
source /etc/profile.d/rvm.sh && \
|
source /etc/profile.d/rvm.sh
|
||||||
rvm mount -r https://git.morlana.online/api/packages/Morlana/generic/ruby-ubuntu-22.04-aarch64/$RUBY_VERSION/ruby-$RUBY_VERSION.tar.bz2 && \
|
rvm mount -r https://git.morlana.online/api/packages/Morlana/generic/ruby-ubuntu-22.04-aarch64/$RUBY_VERSION/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
|
gem install bundler jekyll webrick
|
||||||
- name: Build with Jekyll
|
- name: Build with Jekyll
|
||||||
run: |
|
run: |
|
||||||
source /etc/profile.d/rvm.sh && \
|
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 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 && \
|
cp renovate.json pages/.
|
||||||
git config user.name "${{ gitea.actor }}" && \
|
cd pages
|
||||||
git config user.email ""${{ gitea.actor }}"@noreply.git.morlana.online" && \
|
git config user.name "${{ gitea.actor }}"
|
||||||
git add . && \
|
git config user.email ""${{ gitea.actor }}"@noreply.git.morlana.online"
|
||||||
git commit -m "jekyll build from Action ${GITHUB_SHA}" && \
|
git add .
|
||||||
|
git commit -m "jekyll build from Action ${GITHUB_SHA}"
|
||||||
git push
|
git push
|
||||||
|
19
renovate.json
Normal file
19
renovate.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:recommended"
|
||||||
|
],
|
||||||
|
"baseBranches": [
|
||||||
|
"develop"
|
||||||
|
],
|
||||||
|
"skipInstalls": true,
|
||||||
|
"ignoreScripts": true,
|
||||||
|
"ignorePaths": [
|
||||||
|
"**/.github/**",
|
||||||
|
"**/.gitea/**"
|
||||||
|
],
|
||||||
|
"osvVulnerabilityAlerts": true,
|
||||||
|
"reviewers": [
|
||||||
|
"f.weber"
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user