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