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

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
1 changed files with 2 additions and 2 deletions

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