Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
BUNDLE_PATH: "vendor/bundle"
32 changes: 32 additions & 0 deletions .github/workflows/htmlproofer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: HTMLProofer (links)

on:
pull_request:
branches: [ "master" ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true

- name: Build site
run: |
bundle install --jobs 4 --retry 3
bundle exec jekyll build --trace

- name: Run HTMLProofer
run: |
bundle exec htmlproofer ./_site \
--disable-external \
--enforce_https \
--check_html \
--check_favicon

20 changes: 0 additions & 20 deletions .github/workflows/jekyll-docker.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deploy Jekyll site to Pages

on:
push:
branches: [ "master" ]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_site

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
_site
.sass-cache
.DS_Store
.DS_Store
vendor/
2 changes: 2 additions & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
3.2.2

11 changes: 11 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: default
permalink: /404.html
---

<div class="page">
<h1>Page not found</h1>
<p>Sorry, the page you’re looking for doesn’t exist.</p>
<p><a href="{{ site.baseurl }}/">Return home</a></p>
</div>

9 changes: 9 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source "https://rubygems.org"

gem "github-pages", group: :jekyll_plugins
# Needed to serve locally on Ruby 3.x
gem "webrick", "~> 1.8"

group :development do
gem "html-proofer", "~> 5.0"
end
Loading
Loading