Refactor .gitlab-ci.yml to simplify deployment scripts and enhance target...
Refactor .gitlab-ci.yml to simplify deployment scripts and enhance target determination based on pipeline source. Updated rules for staging and production deployments to improve clarity and functionality.