Your repository currently has 3 active workflows:
-
Deploy Vite App to GitHub Pages ✅ (KEEP THIS ONE)
- Location:
.github/workflows/jekyll-gh-pages.yml - Purpose: Builds and deploys your Vite app to GitHub Pages
- Status: Active and working correctly
- Location:
-
pages-build-deployment ❌ (PRIMARY ISSUE - SHOULD BE DISABLED)
- This is a GitHub-managed dynamic workflow
- Automatically created by GitHub Pages
- Creates duplicate deployments alongside your custom workflow
-
Copilot coding agent
⚠️ (KEEP IF YOU USE GITHUB COPILOT AGENTS)- This is a GitHub-managed dynamic workflow
- Related to GitHub Copilot's automated coding features
- Note: If you want to continue using GitHub Copilot agents for automated code changes, you should keep this enabled
The unwanted workflows are dynamic workflows created and managed by GitHub, not by files in your repository. They cannot be removed by deleting files.
This workflow is the primary culprit creating unwanted pipeline runs. It's triggered when GitHub Pages is configured with certain deployment sources.
This workflow runs when GitHub Pages is configured to deploy from a branch. Since you're using a custom GitHub Actions workflow instead, you need to ensure GitHub Pages is configured correctly:
- Go to your repository on GitHub: https://github.com/BenjaminNechicattu/portfolio
- Click on Settings → Pages (in the left sidebar)
- Under "Build and deployment":
- Source should be set to "GitHub Actions" (NOT "Deploy from a branch")
- If it's currently set to "Deploy from a branch", change it to "GitHub Actions"
- Save your changes
✅ This will stop the automatic pages-build-deployment workflow from running.
If you want to disable GitHub Copilot automated workflows:
- Go to your repository on GitHub
- Click on Settings → Actions → General
- Scroll down and look for GitHub Copilot or automated workflow settings
- Disable as needed
Recommendation: Keep this workflow enabled if you want to continue using GitHub Copilot agents for automated code changes, issue resolution, and other AI-powered development assistance.
After making these changes:
- Go to Actions tab in your repository: https://github.com/BenjaminNechicattu/portfolio/actions
- Make a small change to your repository (e.g., update README.md) and push to main branch
- You should only see the "Deploy Vite App to GitHub Pages" workflow running
- The
pages-build-deploymentworkflow should no longer appear in new runs - If you kept the Copilot agent enabled, it will only run when you use Copilot features
Note: Existing workflow runs in your Actions history will remain visible, but new runs of the disabled workflows will not be triggered.
The "Deploy Vite App to GitHub Pages" workflow (the one you're keeping) is properly configured and will continue to:
- Build your Vite application
- Deploy to GitHub Pages
- Run on every push to the main branch
- Support manual triggering via workflow_dispatch
No changes are needed to this workflow file.
Problem: Two unwanted workflows are running alongside the main deployment workflow
Root Cause: GitHub Pages is likely configured to "Deploy from a branch" which triggers the automatic pages-build-deployment workflow
Solution: Change Settings → Pages → Source to "GitHub Actions"
Expected Result: Only the "Deploy Vite App to GitHub Pages" workflow will run on pushes to main
Time to Fix: < 2 minutes
If you encounter any issues after following these instructions:
- Check that Settings → Pages → Source is set to "GitHub Actions"
- Review the Actions tab to confirm which workflows are running
- The custom workflow file at
.github/workflows/jekyll-gh-pages.ymlshould remain unchanged
After applying these changes, you can safely delete this instruction file (WORKFLOW_CLEANUP_INSTRUCTIONS.md).