This repository hosts a project that is served via GitHub Pages. Below is a description of the workflow and steps involved in deploying the site.
main) as the source for the GitHub Pages site.https://your-username.github.io/your-repository-name/.If you want to use a custom domain (e.g., www.yourdomain.com), you need to:
CNAME file in the root of the repository.CNAME file (e.g., www.yourdomain.com).Add the following four IPs:
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
sub-domain-name subdomain pointing to valuve your-username.github.io .To automatically deploy your website when changes are pushed to your repository, create a .github/workflows/deploy.yml file with the following content:
```yaml name: Deploy to GitHub Pages
on: push: branches: - main
jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2
- name: Set up Node.js (if needed)
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Build site
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: $
publish_dir: ./build