Template Comments

Collaborate on templates with inline comments

2 Open1 Resolved
📄 deploy-production.sh
1#!/bin/bash
2
3# Deploy script for production
4set -e
5 💬 2
6echo 'Starting deployment...'
7npm run build
8npm run test
9
10# Upload to server
11rsync -avz ./dist/ user@server:/var/www/
12output=$(ssh user@server 'systemctl restart app')💬 1
13
14echo 'Deployment complete!'
Line 5 Comments
👨‍💻JediMaster1 hour ago

Should we add error handling here for edge cases?

🧙CodeYoda30 min ago

Good point! I'll add a try-catch block.

🎓DevPadawan30 min ago

Also consider adding input validation before this line.

Comment Stats
Total Comments3
Open2
Resolved1
Replies2
Contributors3