diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 8a73f0c..3a7ebd5 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -14,10 +14,7 @@ jobs: - name: Grab packages run: | apt-get update && \ - apt-get install --no-install-recommends --no-install-suggests -y jq rsync && \ - npm i minify -g - - name: Minify - run: cd public/ && minify index.html > index.html && minify script.js > script.min.js && minify simplex.js > simplex.min.js && minify style.css > style.min.css + apt-get install --no-install-recommends --no-install-suggests -y jq rsync - name: Test static page run: bash ${{ gitea.workspace }}/bin/test_static_page.sh - name: Deploy to Server