Run minify inside build folder
This commit is contained in:
parent
e0b6d68fb5
commit
e806b3bf75
2 changed files with 1 additions and 2 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -21,9 +21,8 @@ jobs:
|
|||
- name: Copy files to build folder
|
||||
run: "yes | cp -f *.{js,py,json} build/"
|
||||
- name: Minify JavaScript
|
||||
working-directory: ./build
|
||||
uses: jossydevers/minify-js@v1.0.0
|
||||
with:
|
||||
directory: 'build'
|
||||
# Eventually only do this step on release
|
||||
- name: Commit Build Files
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
|
|
|
|||
Loading…
Reference in a new issue