Skip to content

Commit 328f266

Browse files
committed
feat: add Jekyll site configuration and deployment workflow
Signed-off-by: Nikolai Emil Damm <[email protected]>
1 parent 0a42bb4 commit 328f266

File tree

5 files changed

+294
-0
lines changed

5 files changed

+294
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7+
name: Publish - Pages
8+
9+
on:
10+
push:
11+
branches: ["main"]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
17+
permissions:
18+
contents: read
19+
pages: write
20+
id-token: write
21+
22+
# Allow one concurrent deployment
23+
concurrency:
24+
group: "pages"
25+
cancel-in-progress: true
26+
27+
jobs:
28+
# Build job
29+
build:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
- name: Setup Ruby
35+
uses: ruby/setup-ruby@v1
36+
with:
37+
ruby-version: '3.3' # Not needed with a .ruby-version file
38+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
39+
cache-version: 0 # Increment this number if you need to re-download cached gems
40+
- name: Setup Pages
41+
id: pages
42+
uses: actions/configure-pages@v5
43+
- name: Build with Jekyll
44+
# Outputs to the './_site' directory by default
45+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
46+
env:
47+
JEKYLL_ENV: production
48+
- name: Upload artifact
49+
# Automatically uploads an artifact from the './_site' directory by default
50+
uses: actions/upload-pages-artifact@v3
51+
52+
# Deployment job
53+
deploy:
54+
environment:
55+
name: github-pages
56+
url: ${{ steps.deployment.outputs.page_url }}
57+
runs-on: ubuntu-latest
58+
needs: build
59+
steps:
60+
- name: Deploy to GitHub Pages
61+
id: deployment
62+
uses: actions/deploy-pages@v4

Gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
source 'https://rubygems.org'
2+
3+
gem "jekyll", "~> 4.4.1"
4+
gem "webrick", "~> 1.9"
5+
gem "bigdecimal", "~> 3.1"
6+
7+
group :jekyll_plugins do
8+
gem 'jekyll-gfm-admonitions', '~> 1.2.0'
9+
end
10+
11+
gem "just-the-docs", "0.10.1"

Gemfile.lock

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.8.7)
5+
public_suffix (>= 2.0.2, < 7.0)
6+
base64 (0.2.0)
7+
bigdecimal (3.1.9)
8+
colorator (1.1.0)
9+
concurrent-ruby (1.3.5)
10+
cssminify (1.0.2)
11+
csv (3.3.3)
12+
em-websocket (0.5.3)
13+
eventmachine (>= 0.12.9)
14+
http_parser.rb (~> 0)
15+
eventmachine (1.2.7)
16+
ffi (1.17.1)
17+
ffi (1.17.1-aarch64-linux-gnu)
18+
ffi (1.17.1-aarch64-linux-musl)
19+
ffi (1.17.1-arm-linux-gnu)
20+
ffi (1.17.1-arm-linux-musl)
21+
ffi (1.17.1-arm64-darwin)
22+
ffi (1.17.1-x86-linux-gnu)
23+
ffi (1.17.1-x86-linux-musl)
24+
ffi (1.17.1-x86_64-darwin)
25+
ffi (1.17.1-x86_64-linux-gnu)
26+
ffi (1.17.1-x86_64-linux-musl)
27+
forwardable-extended (2.6.0)
28+
google-protobuf (4.30.2)
29+
bigdecimal
30+
rake (>= 13)
31+
google-protobuf (4.30.2-aarch64-linux)
32+
bigdecimal
33+
rake (>= 13)
34+
google-protobuf (4.30.2-arm64-darwin)
35+
bigdecimal
36+
rake (>= 13)
37+
google-protobuf (4.30.2-x86-linux)
38+
bigdecimal
39+
rake (>= 13)
40+
google-protobuf (4.30.2-x86_64-darwin)
41+
bigdecimal
42+
rake (>= 13)
43+
google-protobuf (4.30.2-x86_64-linux)
44+
bigdecimal
45+
rake (>= 13)
46+
http_parser.rb (0.8.0)
47+
i18n (1.14.7)
48+
concurrent-ruby (~> 1.0)
49+
jekyll (4.4.1)
50+
addressable (~> 2.4)
51+
base64 (~> 0.2)
52+
colorator (~> 1.0)
53+
csv (~> 3.0)
54+
em-websocket (~> 0.5)
55+
i18n (~> 1.0)
56+
jekyll-sass-converter (>= 2.0, < 4.0)
57+
jekyll-watch (~> 2.0)
58+
json (~> 2.6)
59+
kramdown (~> 2.3, >= 2.3.1)
60+
kramdown-parser-gfm (~> 1.0)
61+
liquid (~> 4.0)
62+
mercenary (~> 0.3, >= 0.3.6)
63+
pathutil (~> 0.9)
64+
rouge (>= 3.0, < 5.0)
65+
safe_yaml (~> 1.0)
66+
terminal-table (>= 1.8, < 4.0)
67+
webrick (~> 1.7)
68+
jekyll-gfm-admonitions (1.2.0)
69+
cssminify (~> 1.0)
70+
jekyll (>= 3.0, < 5.0)
71+
octicons (~> 19.8)
72+
jekyll-include-cache (0.2.1)
73+
jekyll (>= 3.7, < 5.0)
74+
jekyll-sass-converter (3.1.0)
75+
sass-embedded (~> 1.75)
76+
jekyll-seo-tag (2.8.0)
77+
jekyll (>= 3.8, < 5.0)
78+
jekyll-watch (2.2.1)
79+
listen (~> 3.0)
80+
json (2.10.2)
81+
just-the-docs (0.10.1)
82+
jekyll (>= 3.8.5)
83+
jekyll-include-cache
84+
jekyll-seo-tag (>= 2.0)
85+
rake (>= 12.3.1)
86+
kramdown (2.5.1)
87+
rexml (>= 3.3.9)
88+
kramdown-parser-gfm (1.1.0)
89+
kramdown (~> 2.0)
90+
liquid (4.0.4)
91+
listen (3.9.0)
92+
rb-fsevent (~> 0.10, >= 0.10.3)
93+
rb-inotify (~> 0.9, >= 0.9.10)
94+
mercenary (0.4.0)
95+
octicons (19.15.1)
96+
pathutil (0.16.2)
97+
forwardable-extended (~> 2.6)
98+
public_suffix (6.0.1)
99+
rake (13.2.1)
100+
rb-fsevent (0.11.2)
101+
rb-inotify (0.11.1)
102+
ffi (~> 1.0)
103+
rexml (3.4.1)
104+
rouge (4.5.1)
105+
safe_yaml (1.0.5)
106+
sass-embedded (1.86.3)
107+
google-protobuf (~> 4.30)
108+
rake (>= 13)
109+
sass-embedded (1.86.3-aarch64-linux-android)
110+
google-protobuf (~> 4.30)
111+
sass-embedded (1.86.3-aarch64-linux-gnu)
112+
google-protobuf (~> 4.30)
113+
sass-embedded (1.86.3-aarch64-linux-musl)
114+
google-protobuf (~> 4.30)
115+
sass-embedded (1.86.3-arm-linux-androideabi)
116+
google-protobuf (~> 4.30)
117+
sass-embedded (1.86.3-arm-linux-gnueabihf)
118+
google-protobuf (~> 4.30)
119+
sass-embedded (1.86.3-arm-linux-musleabihf)
120+
google-protobuf (~> 4.30)
121+
sass-embedded (1.86.3-arm64-darwin)
122+
google-protobuf (~> 4.30)
123+
sass-embedded (1.86.3-riscv64-linux-android)
124+
google-protobuf (~> 4.30)
125+
sass-embedded (1.86.3-riscv64-linux-gnu)
126+
google-protobuf (~> 4.30)
127+
sass-embedded (1.86.3-riscv64-linux-musl)
128+
google-protobuf (~> 4.30)
129+
sass-embedded (1.86.3-x86_64-darwin)
130+
google-protobuf (~> 4.30)
131+
sass-embedded (1.86.3-x86_64-linux-android)
132+
google-protobuf (~> 4.30)
133+
sass-embedded (1.86.3-x86_64-linux-gnu)
134+
google-protobuf (~> 4.30)
135+
sass-embedded (1.86.3-x86_64-linux-musl)
136+
google-protobuf (~> 4.30)
137+
terminal-table (3.0.2)
138+
unicode-display_width (>= 1.1.1, < 3)
139+
unicode-display_width (2.6.0)
140+
webrick (1.9.1)
141+
142+
PLATFORMS
143+
aarch64-linux
144+
aarch64-linux-android
145+
aarch64-linux-gnu
146+
aarch64-linux-musl
147+
arm-linux-androideabi
148+
arm-linux-gnu
149+
arm-linux-gnueabihf
150+
arm-linux-musl
151+
arm-linux-musleabihf
152+
arm64-darwin
153+
riscv64-linux-android
154+
riscv64-linux-gnu
155+
riscv64-linux-musl
156+
ruby
157+
x86-linux
158+
x86-linux-gnu
159+
x86-linux-musl
160+
x86_64-darwin
161+
x86_64-linux
162+
x86_64-linux-android
163+
x86_64-linux-gnu
164+
x86_64-linux-musl
165+
166+
DEPENDENCIES
167+
bigdecimal (~> 3.1)
168+
jekyll (~> 4.4.1)
169+
jekyll-gfm-admonitions (~> 1.2.0)
170+
just-the-docs (= 0.10.1)
171+
webrick (~> 1.9)
172+
173+
BUNDLED WITH
174+
2.6.6

_config.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
theme: just-the-docs
2+
url: https://platform.devantler.tech
3+
title: "🚀⛴️ Devantler Tech Platform"
4+
description: >-
5+
A hybrid kubernetes platform for Devantler Tech, built with Hetzner, Cloudflare, Omni and Talos.
6+
7+
plugins:
8+
- jekyll-gfm-admonitions
9+
10+
aux_links:
11+
"<img src=\"https:\/\/raw.githubusercontent.com\/devantler-tech\/ksail\/refs\/heads\/main\/docs\/images\/github-mark-white.png\" alt=\"GitHub\" width=\"18\" height=\"18\">&nbsp;&nbsp;devantler-tech/platform":
12+
- "//github.com/devantler-tech/platform"
13+
14+
last_edit_timestamp: true
15+
last_edit_time_format: "%b %e %Y at %I:%M %p"
16+
17+
gh_edit_link: true
18+
gh_edit_link_text: Edit this page on GitHub.
19+
gh_edit_repository: https://github.com/devantler-tech/platform
20+
gh_edit_branch: main
21+
gh_edit_view_mode: tree
22+
23+
back_to_top: true
24+
back_to_top_text: "Back to top"
25+
26+
footer_content: 'Built by <a href="https://github.com/devantler">devantler</a><br>Distributed under the <a href="https://opensource.org/licenses/Apache-2.0">Apache license.</a>'
27+
28+
exclude:
29+
- .github/
30+
- .vscode/
31+
- hetzner/
32+
- k8s/
33+
- k8s-old/
34+
- talos/
35+
- .gitignore
36+
- .policyignore
37+
- .releaserc
38+
- .sops.yaml
39+
- kind.yaml
40+
- ksail.yaml

index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Home
3+
layout: home
4+
nav_order: 0
5+
---
6+
7+
{% include_relative README.md %}

0 commit comments

Comments
 (0)