Fix deploy pipeline#76
Conversation
… files - Replaced the checkout action in the GitHub Actions workflow to use `actions/checkout@v5` for improved functionality. - Updated the Dockerfile to streamline the build process and ensure proper application setup. - Introduced a new `docker-compose.yml` file for managing the deployment of the web application, including health checks and environment configurations. - Revised deployment documentation to reflect changes in file paths and deployment procedures.
- Introduced a new script `build:web:ci` in `package.json` for CI-specific builds. - Updated the deployment workflow to reference the correct path for `docker-compose.yml`. - Modified the Dockerfile to use the new CI build script, ensuring consistency in the build process.
- Removed the CI-specific build script `build:web:ci` from `package.json`. - Updated the Dockerfile to use `npm install --frozen-lockfile` and adjusted the build command to `npm run build:web`, ensuring a streamlined build process.
- Updated the Dockerfile to replace `npm install --frozen-lockfile` with the shorthand `npm i`, streamlining the installation process.
…allation - Updated the Dockerfile to replace `npm i` with `npm ci --ignore-scripts`, ensuring a cleaner and more reliable installation of dependencies in production environments.
…justments - Added a step to capture the short SHA of the current commit in the GitHub Actions workflow. - Updated the deployment path in the SSH command to navigate to the correct directory for Docker operations. - Included a strip_components option in the deployment step for improved file handling.
- Eliminated the network aliases for the pengine service in the docker-compose.yml file, simplifying the deployment configuration.
- Modified the deployment command in the GitHub Actions workflow to simplify the Docker compose up process by removing the --remove-orphans flag, ensuring a cleaner deployment without orphaned containers.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe pull request migrates deployment configuration from a Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
Chores
Documentation