Skip to content

Commit

Permalink
Update settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
rudzainy committed Mar 2, 2024
1 parent d294c1a commit ef5ea3b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 26 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ jobs:
run: bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: "production"

- name: Test site
run: |
bundle exec htmlproofer _site \
\-\-disable-external=true \
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
\-\-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@v2
uses: actions/upload-pages-artifact@v3
with:
path: "_site${{ steps.pages.outputs.base_path }}"

Expand All @@ -70,4 +70,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4
10 changes: 3 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

source "https://rubygems.org"

# Temporarily specifying gem version to deal with issues of failing test
gem "jekyll-theme-chirpy", "~> 6.4.2"
gem "jekyll-theme-chirpy", "~> 6.5", ">= 6.5.2"

group :test do
gem "html-proofer", "~>5.0.8"
gem "html-proofer", "~> 4.4"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
Expand All @@ -17,10 +16,7 @@ platforms :mingw, :x64_mingw, :mswin, :jruby do
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?

# Jekyll <= 4.2.0 compatibility with Ruby 3.0
gem "webrick", "~> 1.7"
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
Expand Down
14 changes: 0 additions & 14 deletions _includes/google-analytics.html

This file was deleted.

0 comments on commit ef5ea3b

Please sign in to comment.