Skip to content

Commit aa6863a

Browse files
committed
fix: remove unused S3Service import from app module
1 parent 0810434 commit aa6863a

2 files changed

Lines changed: 16 additions & 17 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -91,26 +91,26 @@ jobs:
9191
9292
echo "🚀 Starting new container on port 80"
9393
docker run -d \
94-
--name nest-app \
95-
-p 80:3000 \
96-
-e NODE_ENV=$NODE_ENV \
97-
-e DB_HOST=$DB_HOST \
98-
-e DB_PORT=$DB_PORT \
99-
-e DB_USER=$DB_USER \
100-
-e DB_PASS=$DB_PASS \
101-
-e DB_NAME=$DB_NAME \
102-
-e DB_SSL=$DB_SSL \
103-
-e S3_REGION=$S3_REGION \
104-
-e S3_BUCKET_NAME=$S3_BUCKET_NAME \
105-
-e S3_ACCESS_KEY=$S3_ACCESS_KEY \
106-
-e S3_SECRET_ACCESS_KEY=$S3_SECRET_ACCESS_KEY \
107-
${{ steps.build-image.outputs.image }}
108-
echo "🔍 Checking container status..."
94+
--name nest-app \
95+
-p 80:3000 \
96+
-e NODE_ENV \
97+
-e DB_HOST \
98+
-e DB_PORT \
99+
-e DB_USER \
100+
-e DB_PASS \
101+
-e DB_NAME \
102+
-e DB_SSL \
103+
-e S3_REGION \
104+
-e S3_BUCKET_NAME \
105+
-e S3_ACCESS_KEY \
106+
-e S3_SECRET_ACCESS_KEY \
107+
${{ steps.build-image.outputs.image }}
108+
echo "🔍 Checking container status..."
109109
sleep 5
110110
STATUS=$(docker inspect -f '{{.State.Status}}' nest-app)
111111
if [ "$STATUS" != "running" ]; then
112112
echo "❌ Container failed to start. Status: $STATUS"
113113
docker logs nest-app || true
114114
exit 1
115115
fi
116-
echo "✅ Container is running."
116+
echo "✅ Container is running."

src/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { AppService } from './app.service';
44
import { PhotoModule } from './photo/photo.module';
55
import { DatabaseModule } from './database/database.module';
66
import { ConfigModule } from '@nestjs/config';
7-
import { S3Service } from './s3/s3.service';
87
import { S3Module } from './s3/s3.module';
98

109
@Module({

0 commit comments

Comments
 (0)