How sandeep-jagan/sandeep-cicd-project works
This repository combines a small FoodieHub static site with a documented GitHub Actions demo that tests, packages, and deploys the site to S3 using AWS OIDC. The sampled JavaScript implements category filtering, menu scrolling, and order alerts; the README describes the workflow stages and AWS configuration. The workflow and page markup were not sampled, so their connections are based only on README statements, not a review of their implementation.
Main entry points: deploy.yml Deploy workflow · index.html Website page · script.js Food interactions · test.sh Shell tests
Components 12
Website
- Website page
src/index.html - Page styling
src/style.css - Food interactions
src/script.js
GitHub Automation
- Deploy workflow
.github/workflows/deploy.yml - Shell tests
tests/test.sh - Built site
AWS Deployment
- IAM role
- S3 bucket
Other components
- Site visitor
- GitHub repository
- AWS STS
- Website visitor
Connections 9
- Site visitor → GitHub repository: pushes changes
README.md - GitHub repository → Deploy workflow: triggers
README.md - Deploy workflow → Shell tests: runs tests
README.md - Deploy workflow → Built site: copies src
README.md - Deploy workflow → AWS STS: requests credentials
README.md - AWS STS → IAM role: assumes role
README.md - Deploy workflow → S3 bucket: syncs artifact
README.md - Website visitor → Website page: opens site
README.md - Food interactions → Website page: updates DOM
src/script.js