diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/jekyll.yml | 4 | ||||
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | _config_dev.yml | 1 |
3 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index cdd44b3..b69feef 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -27,8 +27,8 @@ jobs: ruby-version: '${{ matrix.ruby-version }}' bundler-cache: true - name: jekyll build - run: bundle exec jekyll build --config _config.yml,_config_dev.yml --drafts + run: bundle exec jekyll build --drafts - name: Check integrity run: | - nohup bundle exec jekyll serve --config _config.yml,_config_dev.yml --drafts & + nohup bundle exec jekyll serve --drafts --baseurl '' & sleep 3 && wget --no-verbose --recursive --convert-links --adjust-extension --directory-prefix=/tmp -- http://localhost:4000/ @@ -23,9 +23,9 @@ in the project's root directory. To run a local web server, run - bundle exec jekyll serve --watch --drafts --config _config.yml,_config_dev.yml + bundle exec jekyll serve -You can then review your changes at http://localhost:4000/. +You can then review your changes at http://localhost:4000/blog/. Or you can use [jekyll-docker] to set up a development environment in Docker and not bother with installing everything locally. @@ -43,7 +43,7 @@ Jekyll doesn't provide native support for generating a static website which can be browsed without running an instance of Jekyll's web server. One easy workaround is to `wget` the website and convert the links: - wget --no-verbose --recursive --convert-links --adjust-extension -- http://localhost:4000/ + wget --no-verbose --recursive --convert-links --adjust-extension -- http://localhost:4000/blog/ License ------- diff --git a/_config_dev.yml b/_config_dev.yml deleted file mode 100644 index bb36321..0000000 --- a/_config_dev.yml +++ /dev/null @@ -1 +0,0 @@ -baseurl: '' |