Fix deployment pipeline - use main compose.yml instead of deploy-production

- Remove reference to deploy-production/docker-compose.prod.yml (now archived)
- Use compose.yml directly as the production configuration
- This should fix the deployment script and enable proper image updates
This commit is contained in:
Stiftung Development
2025-09-17 19:54:23 +02:00
parent ebb9a1f887
commit cbde96698b

View File

@@ -211,13 +211,9 @@ jobs:
# Pull latest code changes (.env is in .gitignore so won't be touched)
git pull https://$DEPLOY_TOKEN@github.com/remmerinio/stiftung-management-system.git main
# Backup current compose.yml
if [ -f compose.yml ]; then
cp compose.yml compose.yml.backup
fi
# Copy production docker compose file to the active compose.yml
cp deploy-production/docker-compose.prod.yml compose.yml
# The main compose.yml is already the correct production configuration
# No need to copy from deploy-production since we use compose.yml directly
echo "Using main compose.yml for production deployment"
# Try to login to GitHub Container Registry and pull images
echo "Attempting to pull images from GitHub Container Registry..."