Skip to content

Commit

Permalink
CI: Use Ruby 3.3 for html-proofer
Browse files Browse the repository at this point in the history
  • Loading branch information
lah7 committed Oct 30, 2024
1 parent e728092 commit 6d8e981
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Cache RubyGems
uses: actions/cache@v4
env:
cache-name: rubygems
- uses: ruby/setup-ruby@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-${{ hashFiles('**/Gemfile.lock') }}

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install ruby ruby-dev ruby-bundler make gcc rsync
bundle config path vendor/bundle
bundle install --jobs=4
ruby-version: '3.3'
bundler-cache: true

- name: Build
run: |
bundle config path vendor/bundle
scripts/build.sh
- name: Proofing
Expand All @@ -38,6 +27,7 @@ jobs:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CF_ZONE_ID: ${{ secrets.CF_ZONE_ID }}
run: |
sudo apt-get install rsync
mkdir -p $HOME/.ssh/
chmod 700 $HOME/.ssh/
echo -n "${{ secrets.SSH_CONFIG }}" > $HOME/.ssh/config
Expand Down

0 comments on commit 6d8e981

Please sign in to comment.