Skip to content

Commit

Permalink
minify
Browse files Browse the repository at this point in the history
  • Loading branch information
LiarOnce committed May 27, 2024
1 parent 3423d71 commit 95a9896
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build-plugged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,10 @@ jobs:
cp build/index.htm build/index.html
- name: Minify all files
run: |
mkdir minify-tools
cd minify-tools
wget https://github.com/tdewolff/minify/releases/download/v2.20.32/minify_linux_amd64.tar.gz
tar -zxvf minify_linux_amd64.tar.gz
chmod +x minify
./minify -a ../
uses: GamemakerChina/[email protected]
with:
directory: 'build'
add_suffix: false

- name: Add Azure Static Web workflow
run: |
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/build-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,10 @@ jobs:
cp build/index.htm build/index.html
- name: Minify all files
run: |
mkdir minify-tools
cd minify-tools
wget https://github.com/tdewolff/minify/releases/download/v2.20.32/minify_linux_amd64.tar.gz
tar -zxvf minify_linux_amd64.tar.gz
chmod +x minify
./minify -a ../
uses: GamemakerChina/[email protected]
with:
directory: 'build'
add_suffix: false

- name: Add Azure Static Web workflow
run: |
Expand Down

0 comments on commit 95a9896

Please sign in to comment.