This commit is contained in:
parent
f57ffd6123
commit
32e0b589e1
|
|
@ -36,6 +36,11 @@ jobs:
|
|||
echo "Compiling hugo site."
|
||||
ssh -p 42042 -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/anubis.mgk.one/git && npm run build"
|
||||
|
||||
- name: Compressing hugo site
|
||||
run: |
|
||||
echo "Compressing hugo site."
|
||||
ssh -p 42042 -o StrictHostKeyChecking=no melkor@barad-dur "find /srv/sites/anubis.mgk.one/git -type f \( -name '*.html' -o -name '*.js' -o -name '*.json' -o -name '*.xml' -o -name '*.css' \) -exec brotli -v -k -f --best {} \;"
|
||||
|
||||
- name: Using rsync to copy over the new website from the webserver's git repo
|
||||
run: |
|
||||
echo "Using rsync to copy over the new website from the webserver's git repo."
|
||||
|
|
|
|||
|
|
@ -29,5 +29,8 @@
|
|||
"prettier-plugin-tailwindcss": "^0.5.14",
|
||||
"tailwind-bootstrap-grid": "^5.1.0",
|
||||
"tailwindcss": "^3.4.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"hugo-extended": "^0.128.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue