- Introduced a new .drone.yml file to define the deployment pipeline, enhancing the CI/CD process.
- Updated the deployment script in package.json to reference the correct script for Gitea.
- Refined the deployment logic in the existing .drone.prod.yml and .drone.yml files to improve repository management and SSH handling.
- Enhanced environment variable management for better security and reliability during deployment.
These changes establish a more structured and efficient deployment pipeline, improving automation and security in the CI/CD workflow.
- Disabled the cloning step to optimize the deployment process.
- Changed the trigger branch from 'deploy-branch' to 'deploy' for better alignment with deployment strategy.
- Refined environment variables to focus on SSH key management, enhancing security during deployment.
- Updated commands to set up SSH configuration, improving connection reliability.
These changes streamline the deployment workflow and enhance security measures in the CI/CD pipeline.
- Disabled the cloning step to optimize the deployment process.
- Changed the trigger branch from 'deploy-branch' to 'deploy' for better alignment with deployment strategy.
- Refactored environment variables to focus on SSH key management, enhancing security during deployment.
- Added commands for setting up SSH keys and known hosts, improving connection reliability.
These changes streamline the deployment workflow and enhance security measures in the CI/CD pipeline.
- Introduced a new Drone CI/CD pipeline configuration file to manage deployment processes.
- Set up environment variables for database and static directory management, enhancing security by using secrets.
- Implemented commands for managing the project directory and controlling the PM2 process during deployment.
These changes establish a structured deployment pipeline, improving the automation and reliability of the deployment process.
- Removed the existing Drone configuration from the root directory and added a new configuration file in the scripts directory to better organize deployment scripts.
- Updated the deployment command in package.json to copy the new Drone configuration file during the build process.
- Adjusted the trigger branch for the deployment pipeline to 'deploy-branch' to align with the new deployment strategy.
These changes improve the structure of the project and streamline the deployment process.