Skip to content

Commit 1422778

Browse files
author
Agil Mammadov
authored
Merge pull request #5 from stiermid/feat/switch-to-monoholic
feat: init new theme
2 parents 0999510 + 07dbc97 commit 1422778

9 files changed

Lines changed: 180 additions & 452 deletions

File tree

.github/workflows/jekyll.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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: Deploy Jekyll site to Pages
8+
9+
on:
10+
# Runs on pushes targeting the default branch
11+
push:
12+
branches: ["master"]
13+
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
17+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
18+
permissions:
19+
contents: read
20+
pages: write
21+
id-token: write
22+
23+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
24+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
25+
concurrency:
26+
group: "pages"
27+
cancel-in-progress: false
28+
29+
jobs:
30+
# Build job
31+
build:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v4
36+
- name: Setup Ruby
37+
# https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
38+
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
39+
with:
40+
ruby-version: '3.1' # Not needed with a .ruby-version file
41+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
42+
cache-version: 0 # Increment this number if you need to re-download cached gems
43+
- name: Setup Pages
44+
id: pages
45+
uses: actions/configure-pages@v5
46+
- name: Build with Jekyll
47+
# Outputs to the './_site' directory by default
48+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
49+
env:
50+
JEKYLL_ENV: production
51+
- name: Upload artifact
52+
# Automatically uploads an artifact from the './_site' directory by default
53+
uses: actions/upload-pages-artifact@v3
54+
55+
# Deployment job
56+
deploy:
57+
environment:
58+
name: github-pages
59+
url: ${{ steps.deployment.outputs.page_url }}
60+
runs-on: ubuntu-latest
61+
needs: build
62+
steps:
63+
- name: Deploy to GitHub Pages
64+
id: deployment
65+
uses: actions/deploy-pages@v5
66+

404.html

Lines changed: 0 additions & 25 deletions
This file was deleted.

Gemfile

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,11 @@
11
source "https://rubygems.org"
2-
# Hello! This is where you manage which Jekyll version is used to run.
3-
# When you want to use a different version, change it below, save the
4-
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5-
#
6-
# bundle exec jekyll serve
7-
#
8-
# This will help ensure the proper Jekyll version is running.
9-
# Happy Jekylling!
10-
gem "github-pages", group: :jekyll_plugins
112

12-
#gem "jekyll", "~> 4.4.1"
13-
# This is the default theme for new Jekyll sites. You may change this to anything you like.
14-
#gem "minima", "~> 2.5"
15-
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
16-
# uncomment the line below. To upgrade, run `bundle update github-pages`.
17-
# gem "github-pages", group: :jekyll_plugins
18-
# If you have any plugins, put them here!
19-
#group :jekyll_plugins do
20-
# gem "jekyll-feed", "~> 0.12"
21-
#end
3+
gem "jekyll", "~> 4.4.1"
4+
gem "monoholic"
5+
gem "jekyll-feed", "~> 0.12"
226

23-
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
24-
# and associated library.
25-
platforms :mingw, :x64_mingw, :mswin, :jruby do
26-
gem "tzinfo", ">= 1", "< 3"
27-
gem "tzinfo-data"
28-
end
29-
30-
# Performance-booster for watching directories on Windows
31-
gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin]
32-
33-
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
34-
# do not have a Java counterpart.
357
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
368

379
gem "erb", "~> 6.0"
3810
gem "base64", "~> 0.3.0"
3911
gem "webrick", "~> 1.9"
40-
41-
gem "no-style-please"

0 commit comments

Comments
 (0)