Skip to content

Commit daeb878

Browse files
committed
revert to old workflow
1 parent 5921076 commit daeb878

File tree

2 files changed

+5
-24
lines changed

2 files changed

+5
-24
lines changed

.github/workflows/jekyll.yml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
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-
61
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7-
name: Deploy Jekyll site to Pages
2+
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
83

94
on:
105
# Runs on pushes targeting the default branch
116
push:
12-
branches: [$default-branch]
7+
branches:
8+
- main
139

1410
# Allows you to run this workflow manually from the Actions tab
1511
workflow_dispatch:
@@ -33,29 +29,14 @@ jobs:
3329
steps:
3430
- name: Checkout
3531
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: Install dependencies
44-
run: bundle install
4532
- name: Setup Pages
46-
# id: pages
4733
uses: actions/configure-pages@v5
4834
- name: Build with Jekyll
49-
# Outputs to the './_site' directory by default
50-
# run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
51-
# env:
52-
# JEKYLL_ENV: production
5335
uses: actions/jekyll-build-pages@v1
5436
with:
5537
source: ./
5638
destination: ./_site
5739
- name: Upload artifact
58-
# Automatically uploads an artifact from the './_site' directory by default
5940
uses: actions/upload-pages-artifact@v3
6041

6142
# Deployment job

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source "https://rubygems.org"
77
#
88
# This will help ensure the proper Jekyll version is running.
99
# Happy Jekylling!
10-
gem "jekyll", "~> 4.2.0"
10+
gem "jekyll", "~> 4.2"
1111
# This is the default theme for new Jekyll sites. You may change this to anything you like.
1212
gem "minima", "~> 2.5"
1313
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
@@ -17,7 +17,7 @@ gem "minima", "~> 2.5"
1717
group :jekyll_plugins do
1818
gem "jekyll-feed", "~> 0.12"
1919
# to create table of content for .md document
20-
gem "jekyll-toc"
20+
#gem "jekyll-toc"
2121
end
2222

2323
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem

0 commit comments

Comments
 (0)