Skip to content
Open
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
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on:
push:
branches: ["kevin/deployment"]
pull_request:

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Build with Jekyll
run: bundle exec jekyll build
64 changes: 64 additions & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["kevin/deployment"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3

# Deployment job
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
34 changes: 13 additions & 21 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,34 +28,26 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest
container:
image: jvconseil/jekyll-docker:4.3.3
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Bundler Upgrade
run: gem install bundler -v '2.3.26'
- name: Install dependencies
run: |
gem install bundler
bundle config set --local path 'vendor/bundle'
bundle install
- name: Force Install
run: gem install just-the-docs -v 0.10.1
- name: Clean Jekyll Cache
run: bundle exec jekyll clean
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
uses: actions/configure-pages@v3
- name: Build with Jekyll
run: |
bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" --verbose
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: source/_site
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v1

# Deployment job
deploy:
Expand All @@ -67,4 +59,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v2
35 changes: 19 additions & 16 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,28 @@ source 'https://rubygems.org'

# Core Jekyll dependencies
gem "jekyll", "~> 4.3.3"
gem "webrick", "~> 1.8"
#gem "webrick", "~> 1.8"

# Theme
gem "just-the-docs", "0.10.1"

group :jekyll_plugins do
gem "just-the-docs"
gem "jekyll-deploy"
end
# Required dependencies
gem "jekyll-sass-converter", "~> 3.0"
gem "rouge", "~> 4.2"
gem "terminal-table", "~> 3.0"
gem "public_suffix", "~> 5.0"
gem "concurrent-ruby", "~> 1.2"
gem "sass-embedded", "~> 1.71"
gem "rexml", "~> 3.2"
gem "unicode-display_width", "~> 2.5"
gem "google-protobuf", "~> 3.25"
gem "rb-inotify", "~> 0.10"
gem "ffi", "~> 1.16"
gem "addressable", "~> 2.8"
gem "i18n", "~> 1.14"
gem "mercenary", "~> 0.4"
#gem "jekyll-sass-converter", "~> 3.0"
#gem "rouge", "~> 4.2"
#gem "terminal-table", "~> 3.0"
#gem "public_suffix", "~> 5.0"
#gem "concurrent-ruby", "~> 1.2"
#gem "sass-embedded", "~> 1.71"
#gem "rexml", "~> 3.2"
#gem "unicode-display_width", "~> 2.5"
#gem "google-protobuf", "~> 3.25"
#gem "rb-inotify", "~> 0.10"
#gem "ffi", "~> 1.16"
#gem "addressable", "~> 2.8"
#gem "i18n", "~> 1.14"
#gem "mercenary", "~> 0.4"

#gem "just-the-docs", "0.8.1" # pinned to the current release
69 changes: 33 additions & 36 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.3.5)
concurrent-ruby (1.2.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.17.2-arm64-darwin)
ffi (1.16.3)
ffi (1.16.3-x64-mingw-ucrt)
forwardable-extended (2.6.0)
google-protobuf (3.25.6-arm64-darwin)
google-protobuf (3.25.3-arm64-darwin)
google-protobuf (3.25.3-x64-mingw-ucrt)
google-protobuf (3.25.3-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.7)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
jekyll (4.3.4)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
Expand All @@ -31,10 +34,11 @@ GEM
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-deploy (0.0.2)
jekyll-include-cache (0.2.1)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (3.1.0)
sass-embedded (~> 1.75)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
Expand All @@ -44,8 +48,8 @@ GEM
jekyll-include-cache
jekyll-seo-tag (>= 2.0)
rake (>= 12.3.1)
kramdown (2.5.1)
rexml (>= 3.3.9)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
Expand All @@ -55,42 +59,35 @@ GEM
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.1.1)
public_suffix (5.0.4)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.4.1)
rouge (4.5.1)
rexml (3.2.6)
rouge (4.2.0)
safe_yaml (1.0.5)
sass-embedded (1.77.5-arm64-darwin)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.71.1-arm64-darwin)
google-protobuf (~> 3.25)
sass-embedded (1.71.1-x64-mingw-ucrt)
google-protobuf (~> 3.25)
sass-embedded (1.71.1-x86_64-linux-gnu)
google-protobuf (~> 3.25)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.6.0)
webrick (1.9.1)
unicode-display_width (2.5.0)
webrick (1.8.1)

PLATFORMS
arm64-darwin-23
arm64-darwin-24
x64-mingw-ucrt
x86_64-linux

DEPENDENCIES
addressable (~> 2.8)
concurrent-ruby (~> 1.2)
ffi (~> 1.16)
google-protobuf (~> 3.25)
i18n (~> 1.14)
jekyll (~> 4.3.3)
jekyll-sass-converter (~> 3.0)
just-the-docs (~> 0.8.1)
mercenary (~> 0.4)
public_suffix (~> 5.0)
rb-inotify (~> 0.10)
rexml (~> 3.2)
rouge (~> 4.2)
sass-embedded (~> 1.71)
terminal-table (~> 3.0)
unicode-display_width (~> 2.5)
webrick (~> 1.8)
jekyll-deploy
just-the-docs

BUNDLED WITH
2.5.14
2.3.26
10 changes: 10 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ title: Web Development Documentation
description: Web Development Starter Kit for the 2025 Triton Hackathon hosted by CS Foreach @ UCSD.
theme: just-the-docs
color_scheme: light
remote_theme: just-the-docs/just-the-docs

plugins:
- jekyll-deploy

deploy:
provider: "github"
repository: "tritonhacks/thwebdev-25"
branch: "main"
token: "..."

url: https://tritonhacks.github.io/thwebdev-25

Expand Down
Loading
Loading