Umar-M-Haroon / anhcodes

New blog

Home Page:https://anhcodes.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

anhcodes.dev Blog

Deploy with Firebase

Deploy with Firebase

Reinstall nvm for frebase: nvm install 16.4.0

npm install -g firebase-tools

firebase init

Run firebase hosting:channel:deploy <preview-number> to preview the deploy before

Run sh git-deploy.sh "<commit message>" to push the changes to git and deploy to firebase if github action is set up for CI/CD

Or run hugo && firebase deploy to manually deploy the changes

Use Custom Domain on Firebase

Useful resources

hugo shortcodes

photos gallery

Convert tables to markdown

icons8

Color Palette

color-hex

you make me nervous Color Palette

Syntax Highlight

https://gohugo.io/content-management/syntax-highlighting/#generate-syntax-highlighter-css

Set Env variables for Hugo

Configure Hugo env variables

Search in Hugo

hugo-lunr

hugo + gruntjs + lunrjs

About

New blog

https://anhcodes.dev/


Languages

Language:HTML 98.8%Language:JavaScript 1.1%Language:CSS 0.1%Language:SCSS 0.0%Language:Shell 0.0%