Skip to content

Commit

Permalink
Remove faulty/unneeded .gemspec file, bump CI packages (#196)
Browse files Browse the repository at this point in the history
* try remove gemspec

* edit Gemfile, update CI containers

* bump npm requirements

* add gh pages gem

* exclude [vendor]

* exclude vendor, no []
  • Loading branch information
sappelhoff authored Aug 9, 2021
1 parent 4f43425 commit a43ddee
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 36 deletions.
16 changes: 11 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:

lint:
docker:
- image: circleci/node:stretch
- image: cimg/node:lts
steps:
- checkout
- run:
Expand All @@ -20,7 +20,7 @@ jobs:
build:
docker:
- image: circleci/ruby:stretch
- image: cimg/ruby:3.0
steps:
- checkout

Expand All @@ -29,16 +29,22 @@ jobs:
keys:
- gem-cache-0-{{ checksum "./Gemfile" }}

- run:
name: check versions
command: |
gem --version
bundle --version
- run:
name: install
command: |
gem install jekyll bundler
bundle install --path vendor/bundle
bundle config set --local path 'vendor/bundle'
bundle install
- run:
name: build
command: |
bundle exec jekyll build --baseurl /0/_site
bundle exec jekyll build --baseurl /0/_site --verbose
- store_artifacts:
path: _site
Expand Down
6 changes: 2 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# frozen_string_literal: true

source 'https://rubygems.org'

gemspec
gem 'jekyll-redirect-from'
gem 'jekyll-redirect-from'
gem 'github-pages', group: :jekyll_plugins
4 changes: 1 addition & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ include:
- _posts

exclude:
- script
- docs
- README.md
- Gemfile*
- jekyll-theme-cayman.gemspec
- vendor
22 changes: 0 additions & 22 deletions jekyll-theme-cayman.gemspec

This file was deleted.

4 changes: 2 additions & 2 deletions npm-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
remark-cli@8.0.0
[email protected]
remark-cli@^10.0.0
remark-preset-lint-recommended@^4.0.0

0 comments on commit a43ddee

Please sign in to comment.