diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index a0de59d..87089c9 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # submodules: true @@ -42,7 +42,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted + ruby-version: 3 bundler-cache: true - name: Build site @@ -52,7 +52,9 @@ jobs: - name: Test site run: | - bundle exec htmlproofer _site --disable-external --check-html --allow_hash_href + bundle exec htmlproofer _site \ + \-\-disable-external=true \ + \-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/" - name: Upload site artifact uses: actions/upload-pages-artifact@v1 @@ -68,4 +70,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v2 diff --git a/Gemfile b/Gemfile index ed6e2b4..26c1b0c 100644 --- a/Gemfile +++ b/Gemfile @@ -2,10 +2,10 @@ source "https://rubygems.org" -gem "jekyll-theme-chirpy", "~> 6.0", ">= 6.0.1" +gem "jekyll-theme-chirpy", "~> 6.2", ">= 6.2.2" group :test do - gem "html-proofer", "~> 3.18" + gem "html-proofer", "~> 4.4" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem @@ -26,5 +26,3 @@ gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] if RUBY_PLATFORM =~ /linux-musl/ gem "jekyll-sass-converter", "~> 2.0" end - -gem 'jekyll-include-cache'