From 0b39fb12648462be908152d02317bf96da34e251 Mon Sep 17 00:00:00 2001 From: Brooke Date: Thu, 14 Mar 2024 18:08:20 -0400 Subject: [PATCH] fix about page and test deploy --- .gitea/workflows/deploy.yaml | 4 ++-- public/style.css | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 7e4b2d6..9cddddc 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -18,9 +18,9 @@ jobs: npm install -g uglify-js && \ npm install -g html-minifier - 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 - 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 run: bash ${{ gitea.workspace }}/bin/test_static_page.sh - name: Deploy to Server diff --git a/public/style.css b/public/style.css index 7f5b1c7..c7aa999 100755 --- a/public/style.css +++ b/public/style.css @@ -109,6 +109,7 @@ body, #tab-links:checked ~ #linksTab, #tab-contact:checked ~ #contactTab, +#tab-about:checked ~ #aboutTab, #tab-dash:checked ~ #dashTab { display: block; }