fix about page and test deploy
Some checks failed
Hugo / build (push) Failing after 23s

This commit is contained in:
Brooke 2024-03-14 18:08:20 -04:00
parent 92fb220b7f
commit 0b39fb1264
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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;
} }