This commit is contained in:
parent
92fb220b7f
commit
0b39fb1264
2 changed files with 3 additions and 2 deletions
|
@ -18,9 +18,9 @@ jobs:
|
||||||
npm install -g uglify-js && \
|
npm install -g uglify-js && \
|
||||||
npm install -g html-minifier
|
npm install -g html-minifier
|
||||||
- name: Minify HTML
|
- name: Minify HTML
|
||||||
run: html-minifier --input-dir public/ --output-dir public/ --file-ext html --collapse-whitespace --remove-comments --remove-optional-tags index.html
|
run: cd public/ && html-minifier --input-dir . --output-dir . --file-ext html --collapse-whitespace --remove-comments --remove-optional-tags index.html && cd ..
|
||||||
- name: Minify CSS & JS
|
- name: Minify CSS & JS
|
||||||
run: uglifyjs public/script.js -o public/script.min.js && uglifyjs public/style.css -o public/style.min.css
|
run: cd public/ && uglifyjs public/script.js -o public/script.min.js && uglifyjs public/simplex.js -o public/simplex.min.js && uglifyjs public/style.css -o public/style.min.css && cd ..
|
||||||
- name: Test static page
|
- name: Test static page
|
||||||
run: bash ${{ gitea.workspace }}/bin/test_static_page.sh
|
run: bash ${{ gitea.workspace }}/bin/test_static_page.sh
|
||||||
- name: Deploy to Server
|
- name: Deploy to Server
|
||||||
|
|
|
@ -109,6 +109,7 @@ body,
|
||||||
|
|
||||||
#tab-links:checked ~ #linksTab,
|
#tab-links:checked ~ #linksTab,
|
||||||
#tab-contact:checked ~ #contactTab,
|
#tab-contact:checked ~ #contactTab,
|
||||||
|
#tab-about:checked ~ #aboutTab,
|
||||||
#tab-dash:checked ~ #dashTab {
|
#tab-dash:checked ~ #dashTab {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue