@@ -32,18 +32,24 @@ The project uses GitHub Actions for CI/CD. Below is a detailed description of ea
3232- ** Concurrency:**
3333 - Ensures only one workflow runs per branch/ref at a time; cancels in-progress runs for the same branch/ref.
3434- ** Timeout:** 10 minutes
35+ - ** Prerequisites:**
36+ - GitHub Actions variables must be configured:
37+ - ` ENV_CI ` - Application environment variables for CI
38+ - ` CDK_ENV_DEV ` - CDK infrastructure environment configuration for DEV
39+ - ` AWS_ROLE_ARN_DEV ` - AWS IAM Role ARN for development environment
40+ - ` AWS_REGION ` - AWS region for deployment
3541- ** Main Steps:**
3642 1 . Checkout repository
3743 2 . Setup Node.js (from ` .nvmrc ` , with npm cache)
3844 3 . Install dependencies (` npm ci ` )
39- 4 . Create application ` .env ` file from secrets (` ENV_CI ` )
45+ 4 . Create application ` .env ` file from variables (` ENV_CI ` )
4046 5 . Lint code (` npm run lint ` )
4147 6 . Check code formatting (` npm run format:check ` )
4248 7 . Build application (` npm run build ` )
4349 8 . Run unit tests with CI mode (` npm run test:ci ` )
4450 9 . Build Storybook (` npm run build:storybook ` )
4551 10 . Install and build infrastructure code
46- 11 . Create infrastructure ` .env ` file from secrets (` CDK_ENV_DEV ` )
52+ 11 . Create infrastructure ` .env ` file from variables (` CDK_ENV_DEV ` )
4753 12 . Configure AWS credentials using OIDC (role: ` AWS_ROLE_ARN_DEV ` )
4854 13 . Synthesize CDK stacks (` npm run synth ` )
4955 14 . Clean up sensitive files (` .env ` , ` cdk.out ` )
@@ -94,7 +100,6 @@ The project uses GitHub Actions for CI/CD. Below is a detailed description of ea
94100 - GitHub Actions variables must be configured:
95101 - ` AWS_ROLE_ARN_DEV ` - AWS IAM Role ARN for development environment
96102 - ` AWS_REGION ` - AWS region for deployment (default: ` us-east-1 ` )
97- - GitHub Actions secrets must be configured:
98103 - ` ENV_DEV ` - Application environment variables
99104 - ` CDK_ENV_DEV ` - CDK infrastructure environment configuration
100105- ** Execution:** Calls the reusable ` Deploy ` workflow
@@ -112,7 +117,6 @@ The project uses GitHub Actions for CI/CD. Below is a detailed description of ea
112117 - GitHub Actions variables must be configured:
113118 - ` AWS_ROLE_ARN_QA ` - AWS IAM Role ARN for QA environment
114119 - ` AWS_REGION ` - AWS region for deployment
115- - GitHub Actions secrets must be configured:
116120 - ` ENV_QA ` - Application environment variables
117121 - ` CDK_ENV_QA ` - CDK infrastructure environment configuration
118122- ** Execution:** Calls the reusable ` Deploy ` workflow
@@ -130,7 +134,6 @@ The project uses GitHub Actions for CI/CD. Below is a detailed description of ea
130134 - GitHub Actions variables must be configured:
131135 - ` AWS_ROLE_ARN_PROD ` - AWS IAM Role ARN for production environment
132136 - ` AWS_REGION ` - AWS region for deployment
133- - GitHub Actions secrets must be configured:
134137 - ` ENV_PROD ` - Application environment variables
135138 - ` CDK_ENV_PROD ` - CDK infrastructure environment configuration
136139- ** Execution:** Calls the reusable ` Deploy ` workflow
@@ -145,7 +148,6 @@ The project uses GitHub Actions for CI/CD. Below is a detailed description of ea
145148 - ` aws_role_arn ` - AWS IAM role ARN for the target environment (required)
146149 - ` aws_region ` - AWS region for deployment (default: ` us-east-1 ` )
147150 - ` env ` - Environment name (dev, qa, prod; default: ` dev ` )
148- - ** Secrets:**
149151 - ` env_file ` - Application environment variables (required)
150152 - ` cdk_env_file ` - CDK infrastructure environment configuration (required)
151153- ** Timeout:** 30 minutes
@@ -195,11 +197,6 @@ GitHub Actions variables should be configured in the repository settings:
195197- ` AWS_ROLE_ARN_DEV ` - AWS IAM role ARN for development
196198- ` AWS_ROLE_ARN_QA ` - AWS IAM role ARN for QA
197199- ` AWS_ROLE_ARN_PROD ` - AWS IAM role ARN for production
198-
199- ### Secrets
200-
201- GitHub Actions secrets should be configured in the repository settings:
202-
203200- ` ENV_CI ` - Environment variables for CI workflow (application)
204201- ` ENV_DEV ` - Environment variables for DEV deployment (application)
205202- ` ENV_QA ` - Environment variables for QA deployment (application)
0 commit comments