From 5e2f8ef68714104aa951df2a665bfc7561275a8d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 11 Jun 2021 14:52:57 +0300 Subject: remove stupid _config_dev.yml --- .github/workflows/jekyll.yml | 4 ++-- README.md | 6 +++--- _config_dev.yml | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 _config_dev.yml 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/ diff --git a/README.md b/README.md index fcb4ab7..cf2daa4 100644 --- a/README.md +++ b/README.md @@ -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: '' -- cgit v1.2.3