Skip to content

Commit

Permalink
HTB Format Walkthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
404GH0ST committed Oct 7, 2023
1 parent 619e83c commit a1ef576
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
# submodules: true
Expand All @@ -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
Expand All @@ -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
Expand All @@ -68,4 +70,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v2
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
# Lock jekyll-sass-converter to 2.x on Linux-musl
if RUBY_PLATFORM =~ /linux-musl/
gem "jekyll-sass-converter", "~> 2.0"
end
end
5 changes: 1 addition & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ google_site_verification: google7f8fbf8c4327181c.html
google_analytics:
id: # fill in your Google Analytics ID
# Google Analytics pageviews report settings
pv:
proxy_endpoint: # fill in the Google Analytics superProxy endpoint of Google App Engine
cache_path: # the local PV cache data, friendly to visitors from GFW region

# Prefer color scheme setting.
#
Expand Down Expand Up @@ -188,11 +185,11 @@ exclude:
- "*.gem"
- "*.gemspec"
- tools
- docs
- README.md
- CHANGELOG.md
- LICENSE
- rollup.config.js
- node_modules
- package*.json

jekyll-archives:
Expand Down
2 changes: 1 addition & 1 deletion _data/share.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

platforms:
- type: Twitter
icon: "fab fa-twitter"
icon: "fa-brands fa-square-x-twitter"
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"

- type: Facebook
Expand Down
2 changes: 1 addition & 1 deletion _tabs/tags.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: tags
icon: fas fa-tag
icon: fas fa-tags
order: 2
---

0 comments on commit a1ef576

Please sign in to comment.