Merge branch 'main' into homepage

This commit is contained in:
MajorDroolz
2022-12-20 17:34:43 -05:00

View File

@@ -26,15 +26,15 @@ jobs:
- name: Minify files. - name: Minify files.
run: | run: |
for i in `find . -name "*.js" -type f`; do terser $i --compress -o $i; done find . -name "*.js" -type f -exec terser {} -c -o {} \;
for i in `find . -name "*.css" -type f`; do csso $i -o $i; done find . -name "*.css" -type f -exec csso {} -o {} \;
for i in `find . -name "*.html" -type f`; do html-minifier --remove-comments --collapse-whitespace $i -o $i; done find . -name "*.html" -type f -exec html-minifier --remove-comments --collapse-whitespace {} -o {} \;
- name: "Commiting changes." - name: "Commiting changes."
run: | run: |
git config user.email "noreply@github.com" git config user.name github-actions
git config user.name "github-actions" git config user.email noreply@github.com
git commit -am "Preparing changes for deployment." git commit -am "Preparing changes for deployment."
- name: "Pushing changes." - name: "Pushing changes."
run: git push -f --set-upstream origin build run: git push -uf origin build