mirror of
https://git.anonymousland.org/anonymousland/anonymousland.git
synced 2025-06-07 13:52:39 -04:00
Update Docker
This commit is contained in:
parent
673a1015ea
commit
829a7c474c
3 changed files with 7 additions and 6 deletions
1
Gemfile
1
Gemfile
|
@ -3,6 +3,5 @@
|
||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
gem 'jekyll'
|
gem 'jekyll'
|
||||||
gem "jekyll-theme-potato-hacker"
|
gem "jekyll-theme-potato-hacker"
|
||||||
gem 'github-pages', group: :jekyll_plugins
|
|
||||||
gem 'jekyll-feed'
|
gem 'jekyll-feed'
|
||||||
gem 'jekyll-seo-tag'
|
gem 'jekyll-seo-tag'
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
repository: d-eathrow/anonymousland
|
repository: d-eathrow/anonymousland
|
||||||
remote_theme: luxedo/jekyll-theme-potato-hacker
|
#remote_theme: luxedo/jekyll-theme-potato-hacker
|
||||||
|
theme: luxedo/jekyll-theme-potato-hacker
|
||||||
theme_base: "dark"
|
theme_base: "dark"
|
||||||
theme_switch: off
|
theme_switch: off
|
||||||
blog: on
|
blog: on
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export JEKYLL_VERSION=3.8
|
|
||||||
|
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
|
--name=site \
|
||||||
|
--network=site \
|
||||||
--volume="$PWD:/srv/jekyll:Z" \
|
--volume="$PWD:/srv/jekyll:Z" \
|
||||||
-it jekyll/jekyll:$JEKYLL_VERSION \
|
--volume="$PWD/vendor/bundle:/usr/local/bundle:Z" \
|
||||||
jekyll build
|
-it jekyll/jekyll \
|
||||||
|
jekyll serve
|
Loading…
Add table
Add a link
Reference in a new issue