This commit is contained in:
parent
f9c69ef37b
commit
3438547c61
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue