Skip to content

Commit

Permalink
Add a script to use Docker instead of installing Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Apr 6, 2020
1 parent fde7280 commit 9a2311c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ _site
.bundle
.sass-cache
Gemfile
Gemfile.lock
Gemfile.lock
.jekyll-cache
3 changes: 3 additions & 0 deletions jekyll.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash -e

docker run -p 4000:4000 --rm --volume="$PWD:/srv/jekyll" -it jekyll/jekyll jekyll "$1"

0 comments on commit 9a2311c

Please sign in to comment.