diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-06-11 15:05:00 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-06-11 15:05:00 +0300 |
commit | 43492e8f9c75b5d106432f0f866f89c09f670649 (patch) | |
tree | 840d91a3ad402fdb533c3531cd6374ab6dad6d6f | |
parent | bump jekyll-theme (diff) | |
download | sorting-algorithms-43492e8f9c75b5d106432f0f866f89c09f670649.tar.gz sorting-algorithms-43492e8f9c75b5d106432f0f866f89c09f670649.zip |
remove stupid _config_dev.yml
-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 ed110de..be87f3d 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -30,8 +30,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 --drafts -You can then review your changes at http://localhost:4000/. +You can then review your changes at http://localhost:4000/sorting-algorithms/. 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/sorting-algorithms/ 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: '' |