Asset minification (#799)

* Minify asset on each build

* Fix style

* Add github action step to install minify

* Remove unnecessary require

* Remove unnecessary lines
This commit is contained in:
Michael
2024-02-19 11:54:09 -03:00
committed by GitHub
parent 01b5e44341
commit 76d2cfac4c
5 changed files with 17 additions and 6 deletions

View File

@@ -24,6 +24,9 @@ jobs:
# Runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Install Minify
run: sudo apt-get update && sudo apt-get install minify
# Build the website.
- name: Build the static website

View File

@@ -29,6 +29,9 @@ jobs:
# Runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Install Minify
run: sudo apt-get update && sudo apt-get install minify
# Build the website.
- name: Build the static website