Added compression the site's deploy script.
All checks were successful
/ deploy (push) Successful in 34s
All checks were successful
/ deploy (push) Successful in 34s
This commit is contained in:
parent
e516366e7d
commit
bc8610a82c
|
|
@ -36,6 +36,11 @@ jobs:
|
|||
echo "Compiling hugo site."
|
||||
ssh -p 42042 -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/bastet.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/bastet.mgk.one/git/public -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."
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
# favicon module: https://github.com/gethugothemes/hugo-modules/tree/master/images#favicon-implementation
|
||||
favicon = "images/favicon.png"
|
||||
# logo module: https://github.com/gethugothemes/hugo-modules/tree/master/images#logo-implementation
|
||||
logo = "images/doctor-bastet-logo.png"
|
||||
logo_darkmode = "images/doctor-bastet-logo-darkmode.png"
|
||||
logo = "images/dr-bastet-logo.png"
|
||||
logo_darkmode = "images/dr-bastet-logo-darkmode.png"
|
||||
# use `px` or `x` with logo_width, example: "100px".
|
||||
# Note: logo_width is not work with .svg file
|
||||
logo_width = "160px"
|
||||
|
|
@ -27,7 +27,7 @@ google_adsense = "" # example: ca-pub-xxxxxxxxxxxxxxxx
|
|||
# custom script on header, example: custom_script= "<script>console.log(\"Hello World\")</script>"
|
||||
custom_script = ""
|
||||
# copyright
|
||||
copyright = "Copyright 2024 Dr Bastet"
|
||||
copyright = "Copyright Bastet"
|
||||
|
||||
# Preloader
|
||||
# preloader module: https://github.com/gethugothemes/hugo-modules/tree/master/components/preloader
|
||||
|
|
@ -62,8 +62,8 @@ content = "You must replace the **baseURL** in **hugo.toml** file when deploying
|
|||
# seo meta data for OpenGraph / Twitter Card
|
||||
# seo module: https://github.com/gethugothemes/hugo-modules/tree/master/seo-tools/basic-seo
|
||||
[metadata]
|
||||
keywords = ["MGK", "Marketing Growth Kings", "Doctor Bastet"]
|
||||
description = "Doctor Bastet's playground."
|
||||
keywords = ["Marketing Growth Kings", "MGK", "Doctor Bastet"]
|
||||
description = "Bastet's playground"
|
||||
author = "Doctor Bastet"
|
||||
image = "images/og-image.png"
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 4.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.3 KiB |
|
|
@ -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