IAgent
chat bot template
Install / Use
/learn @morbargig/IAgentREADME
🔄 GitHub Workflows
This directory contains automated workflows for the iAgent project.
📋 Available Workflows
🔍 CI - Continuous Integration (ci.yml)
- Triggers: Push to
main/develop, Pull Requests tomain - Purpose: Code quality checks, testing, and build verification
- Jobs:
- 🧹 Quality: ESLint + TypeScript checking
- 🧪 Test: Unit tests with coverage
- 🏗️ Build: Production build verification
- 🔒 Security: npm audit security scan
🚀 Deploy to GitHub Pages (deploy-gh-pages.yml)
- Triggers: Push to
main(after CI), Manual dispatch - Purpose: Deploy frontend to GitHub Pages
- Features:
- ✅ Production build with optimizations
- 🔧 Automatic GitHub Pages configuration
- 🌐 Deployment verification
- 📊 Build size analysis
🎯 Deployment Process
Automatic Deployment
- Push changes to
mainbranch - CI workflow runs automatically
- If CI passes, GitHub Pages deployment starts
- Frontend is built and deployed to:
https://<username>.github.io/iagent/
Manual Deployment
# Local deployment (requires gh-pages CLI)
npm run deploy:local
# Or trigger GitHub Actions manually
gh workflow run deploy-gh-pages.yml
🔧 Configuration
Environment Variables
The workflows use these environment variables for GitHub Pages:
VITE_BASE_URL:/iagent/(GitHub Pages subdirectory)VITE_API_BASE_URL:/iagent/api/(API endpoint path)VITE_ENVIRONMENT:production
GitHub Pages Setup
- Go to repository Settings → Pages
- Set Source to "GitHub Actions"
- The workflow will handle deployment automatically
📊 Workflow Status
You can monitor workflow runs in the Actions tab of your repository:
- ✅ Green checkmark: All jobs passed
- ❌ Red X: Some jobs failed
- 🟡 Yellow dot: In progress
- ⚪ Gray dot: Not run
🆘 Troubleshooting
Common Issues
Build Fails
- Check TypeScript errors in CI logs
- Ensure all dependencies are properly installed
- Verify environment variables are set correctly
Deployment Fails
- Check GitHub Pages settings are configured
- Verify repository has Pages enabled
- Ensure workflows have proper permissions
Tests Fail
- Review test output in CI logs
- Check if all test dependencies are available
- Verify test environment setup
Getting Help
- Check the Actions tab for detailed logs
- Review the specific job that failed
- Look for error messages in the workflow output
- Check if the issue is related to dependencies or configuration
🔗 Useful Links
Related Skills
bluebubbles
347.2kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
slack
347.2kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
