mirror of
https://github.com/godotengine/godot-website.git
synced 2025-12-31 09:48:43 +03:00
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:
3
.github/workflows/build-pr.yml
vendored
3
.github/workflows/build-pr.yml
vendored
@@ -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
|
||||
|
||||
3
.github/workflows/build-website.yml
vendored
3
.github/workflows/build-website.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user