Setup GitHub Pages
Create a new GitHub repository and enable GitHub Pages:
- •Create repo:
bash
gh repo create $ARGUMENTS --public --source=. --push
- •Enable GitHub Pages:
bash
gh api repos/OWNER/$ARGUMENTS/pages -X POST -f source='{"branch":"master","path":"/"}'
- •Get the Pages URL:
bash
gh api repos/OWNER/$ARGUMENTS/pages --jq '.html_url'
The site will be available at: https://OWNER.github.io/$ARGUMENTS/
Note: Replace OWNER with actual GitHub username.