Update Docker

This commit is contained in:
deathrow 2022-11-07 18:44:53 -05:00
parent 673a1015ea
commit 829a7c474c
No known key found for this signature in database
GPG Key ID: FF39D67A22069F73
3 changed files with 7 additions and 6 deletions

View File

@ -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'

View File

@ -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

View File

@ -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