Skip to content

Commit a592b0a

Browse files
committed
build error fix
1 parent 709055b commit a592b0a

File tree

3 files changed

+75
-16
lines changed

3 files changed

+75
-16
lines changed

Diff for: .github/workflows/pages.yml

+62
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: Deploy Jekyll site to Pages
8+
9+
on:
10+
push:
11+
branches: ["master"]
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@v3
34+
- name: Setup Ruby
35+
uses: ruby/setup-ruby@v1
36+
with:
37+
ruby-version: '3.1' # 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@v2
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@v1
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@v1

Diff for: Gemfile

+10-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
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 "jekyll", "~> 4.1.1"
2+
3+
gem "jekyll", "~> 4.3.3"
4+
115
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12-
gem "just-the-docs", github:"pmarsceill/just-the-docs"
6+
#gem "just-the-docs", github:"pmarsceill/just-the-docs"
7+
gem "just-the-docs", "~> 0.6.2"
138
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
149
# uncomment the line below. To upgrade, run `bundle update github-pages`.
1510
# gem "github-pages", group: :jekyll_plugins
@@ -21,13 +16,13 @@ end
2116

2217
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
2318
# and associated library.
24-
platforms :mingw, :x64_mingw, :mswin, :jruby do
25-
gem "tzinfo", "~> 1.2"
26-
gem "tzinfo-data"
27-
end
19+
#platforms :mingw, :x64_mingw, :mswin, :jruby do
20+
#gem "tzinfo", "~> 1.2"
21+
#gem "tzinfo-data"
22+
#end
2823

2924
# Performance-booster for watching directories on Windows
30-
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
25+
#gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
3126

3227

3328
gem "webrick", "~> 1.7"

Diff for: _config.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ twitter_username: jekyllrb
2828
github_username: jekyll
2929

3030
# Build settings
31-
remote_theme: pmarsceill/just-the-docs
31+
#remote_theme: just-the-docs/just-the-docs
32+
theme: just-the-docs
33+
url: https://just-the-docs.github.io
3234
plugins:
3335
- jekyll-feed
3436
color_scheme: eeglab

0 commit comments

Comments
 (0)