Merge pull request 'reverted broken cache' (#6) from dev into main
All checks were successful
Update Cloudflare DNS / update-dns (push) Successful in 30s
Deploy Jekyll site to Pages / build (push) Successful in 4m47s

Reviewed-on: #6
This commit is contained in:
Florian Weber 2025-03-02 23:58:12 +00:00
commit 4ae1c2cd4a

View File

@ -40,41 +40,17 @@ jobs:
git commit -m "Remove ignored files from Jekyll site"
cd ..
- name: Install Ruby
run: |
apt-get update && \
apt-get install curl wget tar build-essential zlib1g-dev -y && \
wget -O ruby.tar.bz2 https://raw.morlana.space/morlana/rvm-binaries/@binaries/ubuntu/22.04/aarch64/ruby-$RUBY_VERSION.tar.bz2 && \
tar -xjf ruby.tar.bz2 -C /usr/local && \
rm ruby.tar.bz2 && \
ln -s /usr/local/ruby-$RUBY_VERSION/bin/ruby /usr/local/bin/ruby && \
ln -s /usr/local/ruby-$RUBY_VERSION/bin/gem /usr/local/bin/gem && \
echo "export LD_LIBRARY_PATH=/usr/local/ruby-$RUBY_VERSION/lib:\$LD_LIBRARY_PATH" >> $GITHUB_ENV
- name: Cache Gems
uses: actions/cache@v4
with:
path: ~/.gem
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install Bundler and Jekyll
- name: Setup Ruby
run: |
apt-get update
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/pkuczynski.asc | gpg --import -
curl -sSL https://get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
rvm mount -r https://raw.morlana.space/morlana/rvm-binaries/@binaries/ubuntu/22.04/aarch64/ruby-$RUBY_VERSION.tar.bz2
rvm use $RUBY_VERSION && ruby -v && gem -v
gem install bundler jekyll webrick
bundle install
#- name: Setup Ruby
# run: |
# apt-get update
# 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/pkuczynski.asc | gpg --import -
# curl -sSL https://get.rvm.io | bash -s stable
# source /etc/profile.d/rvm.sh
# rvm mount -r https://raw.morlana.space/morlana/rvm-binaries/@binaries/ubuntu/22.04/aarch64/ruby-$RUBY_VERSION.tar.bz2
# rvm use $RUBY_VERSION && ruby -v && gem -v
# gem install bundler jekyll webrick
- name: Prepare Jekyll Index
run: |