CI/CD
EcoGuard currently has both GitHub Actions and GitLab CI/CD definitions.
GitHub Actions
- File: .github/workflows/main.yml
- Trigger: push and pull request on
main - Runs tests, data collection, dashboard build, and Pages deployment
GitLab CI/CD
- File: .gitlab-ci.yml
- Trigger: push to
main - Runs build, test, and deploy stages, then publishes Pages
What the GitLab pipeline does
- Builds real data and package artifacts.
- Runs agent tests and code quality checks.
- Validates flow YAML and docs.
- Publishes the dashboard to GitLab Pages.
What to watch
- Make sure the branch is
mainfor Pages deployment. - Verify the
publicartifact contains the dashboard files. - Check pipeline logs if the dashboard looks stale.