Zola deploy
  
  
  ·
  1min
  
  
  
  
  ·
  coleaderme
  
   
  Table of Contents
After so many trial and errors..
Make changes to your-name.github.io repo's
- Actions >> New Workflow >>
PASTE this.
name: Zola on GitHub Pages
on: 
 push:
  branches:
   - main
jobs:
  build:
    name: Publish site
    runs-on: ubuntu-latest
    steps:
    - name: Checkout main
      uses: actions/checkout@v4
    - name: Build and deploy
      uses: shalzz/zola-deploy-action@v0.18.0
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- Settings >> pages >>
 infoInfoSee cover image