Fix minify

This commit is contained in:
Nemo 2023-06-09 14:01:17 +05:30
parent caadf985db
commit 436cfe6ec4
3 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ jobs:
id: pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
run: bundle exec jekyll build --config _config.yml,_config.prod.yml --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact

1
_config.prod.yml Normal file
View File

@ -0,0 +1 @@
env: production

View File

@ -12,5 +12,4 @@ timezone: Asia/Kolkata
plugins:
- jekyll-seo-tag
- octopress-minify-html
# Run with JEKYLL_ENV=production to run minify plugin
env: development