Skip to content

Commit b74fd62

Browse files
Wcoder547Copilot
andcommitted
update CI/CD pipeline: add docker image prune command and log message in app.js
Co-authored-by: Copilot <copilot@github.com>
1 parent 6b394d6 commit b74fd62

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646
cd ~/MERN-CHAT-APP
4747
docker compose pull
4848
docker compose up -d --remove-orphans
49-
docker image prune -f
49+
docker image prune -f

Back-end/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ const onlineUsers = new Set();
3939

4040
connectDB(mongoURI);
4141

42+
console.log("ci/cd pipeline test");
43+
4244
cloudinary.config({
4345
cloud_name: process.env.CLOUDINARY_CLOUD_NAME,
4446
api_key: process.env.CLOUDINARY_API_KEY,

0 commit comments

Comments
 (0)