feat: download assets from cloudflare and jsdelivr cdn and serve locally
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2023-01-14 13:25:46 +05:30
parent 04e1bc8d69
commit ca94c48e9c
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -1,8 +1,8 @@
default: ## Build the website
./scripts/spellcheck.sh --check
./scripts/zola.sh build
sed -i 's%cdnjs.cloudflare.com%manidhayam.org%' themes/even/templates/index.html
sed -i 's%cdnjs.jsdelivr.net%manidhayam.org%' themes/even/templates/index.html
sed -i 's%cdnjs\.cloudflare\.com%manidhayam\.org%' themes/even/templates/index.html
sed -i 's%cdnjs\.jsdelivr\.net%manidhayam\.org%' themes/even/templates/index.html
clean: ## Clean build assets
./scripts/zola.sh clean