This commit is contained in:
uetchy 2019-03-14 22:32:24 +09:00
parent b71c58d4b9
commit eb5450900a
9 changed files with 60 additions and 79 deletions

View File

@ -1,15 +0,0 @@
FROM ruby:2.5
# see http://stackoverflow.com/questions/38453963/gitlab-ci-setup-error-could-not-find-a-javascript-runtime
RUN apt-get update && apt-get install nodejs -y
# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1
ENV LANG C.UTF-8
WORKDIR /usr/src/app
COPY Gemfile Gemfile.lock /usr/src/app/
RUN bundle install
COPY . /usr/src/app

View File

@ -15,24 +15,24 @@ GEM
colorator (1.1.0) colorator (1.1.0)
commonmarker (0.17.13) commonmarker (0.17.13)
ruby-enum (~> 0.5) ruby-enum (~> 0.5)
concurrent-ruby (1.1.4) concurrent-ruby (1.1.5)
dnsruby (1.61.2) dnsruby (1.61.2)
addressable (~> 2.5) addressable (~> 2.5)
em-websocket (0.5.1) em-websocket (0.5.1)
eventmachine (>= 0.12.9) eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0) http_parser.rb (~> 0.6.0)
ethon (0.11.0) ethon (0.12.0)
ffi (>= 1.3.0) ffi (>= 1.3.0)
eventmachine (1.2.7) eventmachine (1.2.7)
execjs (2.7.0) execjs (2.7.0)
faraday (0.15.4) faraday (0.15.4)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ffi (1.9.25) ffi (1.10.0)
forwardable-extended (2.6.0) forwardable-extended (2.6.0)
gemoji (3.0.0) gemoji (3.0.0)
github-pages (193) github-pages (197)
activesupport (= 4.2.10) activesupport (= 4.2.10)
github-pages-health-check (= 1.8.1) github-pages-health-check (= 1.16.1)
jekyll (= 3.7.4) jekyll (= 3.7.4)
jekyll-avatar (= 0.6.0) jekyll-avatar (= 0.6.0)
jekyll-coffeescript (= 1.1.1) jekyll-coffeescript (= 1.1.1)
@ -40,13 +40,13 @@ GEM
jekyll-default-layout (= 0.1.4) jekyll-default-layout (= 0.1.4)
jekyll-feed (= 0.11.0) jekyll-feed (= 0.11.0)
jekyll-gist (= 1.5.0) jekyll-gist (= 1.5.0)
jekyll-github-metadata (= 2.9.4) jekyll-github-metadata (= 2.12.1)
jekyll-mentions (= 1.4.1) jekyll-mentions (= 1.4.1)
jekyll-optional-front-matter (= 0.3.0) jekyll-optional-front-matter (= 0.3.0)
jekyll-paginate (= 1.1.0) jekyll-paginate (= 1.1.0)
jekyll-readme-index (= 0.2.0) jekyll-readme-index (= 0.2.0)
jekyll-redirect-from (= 0.14.0) jekyll-redirect-from (= 0.14.0)
jekyll-relative-links (= 0.5.3) jekyll-relative-links (= 0.6.0)
jekyll-remote-theme (= 0.3.1) jekyll-remote-theme (= 0.3.1)
jekyll-sass-converter (= 1.5.2) jekyll-sass-converter (= 1.5.2)
jekyll-seo-tag (= 2.5.0) jekyll-seo-tag (= 2.5.0)
@ -66,22 +66,22 @@ GEM
jekyll-theme-tactile (= 0.1.1) jekyll-theme-tactile (= 0.1.1)
jekyll-theme-time-machine (= 0.1.1) jekyll-theme-time-machine (= 0.1.1)
jekyll-titles-from-headings (= 0.5.1) jekyll-titles-from-headings (= 0.5.1)
jemoji (= 0.10.1) jemoji (= 0.10.2)
kramdown (= 1.17.0) kramdown (= 1.17.0)
liquid (= 4.0.0) liquid (= 4.0.0)
listen (= 3.1.5) listen (= 3.1.5)
mercenary (~> 0.3) mercenary (~> 0.3)
minima (= 2.5.0) minima (= 2.5.0)
nokogiri (>= 1.8.2, < 2.0) nokogiri (>= 1.8.5, < 2.0)
rouge (= 2.2.1) rouge (= 2.2.1)
terminal-table (~> 1.4) terminal-table (~> 1.4)
github-pages-health-check (1.8.1) github-pages-health-check (1.16.1)
addressable (~> 2.3) addressable (~> 2.3)
dnsruby (~> 1.60) dnsruby (~> 1.60)
octokit (~> 4.0) octokit (~> 4.0)
public_suffix (~> 2.0) public_suffix (~> 3.0)
typhoeus (~> 1.3) typhoeus (~> 1.3)
html-pipeline (2.9.1) html-pipeline (2.10.0)
activesupport (>= 2) activesupport (>= 2)
nokogiri (>= 1.4) nokogiri (>= 1.4)
http_parser.rb (0.6.0) http_parser.rb (0.6.0)
@ -118,8 +118,8 @@ GEM
jekyll (~> 3.3) jekyll (~> 3.3)
jekyll-gist (1.5.0) jekyll-gist (1.5.0)
octokit (~> 4.2) octokit (~> 4.2)
jekyll-github-metadata (2.9.4) jekyll-github-metadata (2.12.1)
jekyll (~> 3.1) jekyll (~> 3.4)
octokit (~> 4.0, != 4.4.0) octokit (~> 4.0, != 4.4.0)
jekyll-mentions (1.4.1) jekyll-mentions (1.4.1)
html-pipeline (~> 2.3) html-pipeline (~> 2.3)
@ -131,7 +131,7 @@ GEM
jekyll (~> 3.0) jekyll (~> 3.0)
jekyll-redirect-from (0.14.0) jekyll-redirect-from (0.14.0)
jekyll (~> 3.3) jekyll (~> 3.3)
jekyll-relative-links (0.5.3) jekyll-relative-links (0.6.0)
jekyll (~> 3.3) jekyll (~> 3.3)
jekyll-remote-theme (0.3.1) jekyll-remote-theme (0.3.1)
jekyll (~> 3.5) jekyll (~> 3.5)
@ -187,7 +187,7 @@ GEM
jekyll (~> 3.3) jekyll (~> 3.3)
jekyll-watch (2.1.2) jekyll-watch (2.1.2)
listen (~> 3.0) listen (~> 3.0)
jemoji (0.10.1) jemoji (0.10.2)
gemoji (~> 3.0) gemoji (~> 3.0)
html-pipeline (~> 2.2) html-pipeline (~> 2.2)
jekyll (~> 3.0) jekyll (~> 3.0)
@ -205,13 +205,13 @@ GEM
jekyll-seo-tag (~> 2.1) jekyll-seo-tag (~> 2.1)
minitest (5.11.3) minitest (5.11.3)
multipart-post (2.0.0) multipart-post (2.0.0)
nokogiri (1.9.1) nokogiri (1.10.1)
mini_portile2 (~> 2.4.0) mini_portile2 (~> 2.4.0)
octokit (4.13.0) octokit (4.13.0)
sawyer (~> 0.8.0, >= 0.5.3) sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.2) pathutil (0.16.2)
forwardable-extended (~> 2.6) forwardable-extended (~> 2.6)
public_suffix (2.0.5) public_suffix (3.0.3)
rb-fsevent (0.10.3) rb-fsevent (0.10.3)
rb-inotify (0.10.0) rb-inotify (0.10.0)
ffi (~> 1.0) ffi (~> 1.0)
@ -220,8 +220,8 @@ GEM
i18n i18n
ruby_dep (1.5.0) ruby_dep (1.5.0)
rubyzip (1.2.2) rubyzip (1.2.2)
safe_yaml (1.0.4) safe_yaml (1.0.5)
sass (3.7.2) sass (3.7.3)
sass-listen (~> 4.0.0) sass-listen (~> 4.0.0)
sass-listen (4.0.0) sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4) rb-fsevent (~> 0.9, >= 0.9.4)
@ -236,7 +236,7 @@ GEM
ethon (>= 0.9.0) ethon (>= 0.9.0)
tzinfo (1.2.5) tzinfo (1.2.5)
thread_safe (~> 0.1) thread_safe (~> 0.1)
unicode-display_width (1.4.1) unicode-display_width (1.5.0)
PLATFORMS PLATFORMS
ruby ruby
@ -245,4 +245,4 @@ DEPENDENCIES
github-pages github-pages
BUNDLED WITH BUNDLED WITH
1.17.3 2.0.1

View File

@ -9,12 +9,12 @@ collections:
title: Uploads title: Uploads
output: true output: true
defaults: defaults:
- scope: - scope:
path: '' path: ''
type: posts type: posts
values: values:
layout: post layout: post
permalink: "/blog/:title" permalink: '/blog/:title'
description: Random posts from @uetchy. description: Random posts from @uetchy.
url: https://uechi.io url: https://uechi.io
email: y@uechi.io email: y@uechi.io
@ -22,26 +22,26 @@ twitter:
username: uetschy username: uetschy
github: github:
username: uetchy username: uetchy
logo: "/images/icon.png" logo: '/images/icon.png'
excerpt_separator: "#" excerpt_separator: '#'
google_analytics: UA-28919359-12 google_analytics: UA-28919359-12
plugins: plugins:
- jekyll-redirect-from - jekyll-redirect-from
- jekyll-sitemap - jekyll-sitemap
- jekyll-seo-tag - jekyll-seo-tag
- jekyll-feed - jekyll-feed
- jemoji - jemoji
include: include:
- _pages - _pages
exclude: exclude:
- README.md - README.md
- LICENSE - LICENSE
- CNAME - CNAME
- Gemfile - Gemfile
- Gemfile.lock - Gemfile.lock
- package.json - package.json
- node_modules - node_modules
- script - script
- vendor - vendor
- docker-compose.yml - docker-compose.yml
- Dockerfile - Dockerfile

View File

@ -9,8 +9,10 @@
<link rel="icon" type="image/png" href="{{ site.baseurl }}/images/favicon-16x16.png" sizes="16x16"> <link rel="icon" type="image/png" href="{{ site.baseurl }}/images/favicon-16x16.png" sizes="16x16">
<link rel="mask-icon" href="{{ site.baseurl }}/images/safari-pinned-tab.svg" color="#5bbad5"> <link rel="mask-icon" href="{{ site.baseurl }}/images/safari-pinned-tab.svg" color="#5bbad5">
{% seo %} {% seo %}
{% feed_meta %} {% feed_meta %}
<!-- Normalize --> <!-- Normalize -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css" />

View File

@ -123,4 +123,5 @@ hr {
} }
} }
} }
@import 'post';
@import './post';

View File

@ -1,9 +0,0 @@
version: '3'
services:
web:
build: .
command: jekyll serve --host 0.0.0.0 --port 4000 --baseurl '' --force_polling --drafts --unpublished --incremental
ports:
- 4000:4000
volumes:
- .:/usr/src/app

View File

@ -1,9 +1,10 @@
{ {
"private": true, "name": "uechi.io",
"scripts": { "scripts": {
"start": "script/server", "fix-typo": "textlint _posts/*.md _pages/*.md --fix --dry-run -f diff",
"test": "textlint _posts/*.md _pages/*.md -f pretty-error", "build": "bundle exec jekyll build",
"fix-typo": "textlint _posts/*.md _pages/*.md --fix --dry-run -f diff" "start": "bundle exec jekyll serve --host 0.0.0.0 --port 4000 --baseurl '' --force_polling --drafts --unpublished --incremental",
"test": "textlint _posts/*.md _pages/*.md -f pretty-error"
}, },
"devDependencies": { "devDependencies": {
"textlint": "^11.0.2", "textlint": "^11.0.2",
@ -13,5 +14,6 @@
"textlint-rule-no-dropping-the-ra": "^1.1.2", "textlint-rule-no-dropping-the-ra": "^1.1.2",
"textlint-rule-no-start-duplicated-conjunction": "^2.0.2", "textlint-rule-no-start-duplicated-conjunction": "^2.0.2",
"textlint-rule-preset-japanese": "^4.0.0" "textlint-rule-preset-japanese": "^4.0.0"
} },
"private": true
} }