Initial commit - WASL Digital Wallet
This commit is contained in:
20
deploy.sh
Executable file
20
deploy.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Default commit message with current timestamp
|
||||
COMMIT_MSG="Deploy: $(date '+%Y-%m-%d %H:%M:%S')"
|
||||
|
||||
# Use custom commit message if provided as argument
|
||||
if [ ! -z "$1" ]; then
|
||||
COMMIT_MSG="$1"
|
||||
fi
|
||||
|
||||
echo "Adding all files..."
|
||||
git add .
|
||||
|
||||
echo "Committing with message: '$COMMIT_MSG'"
|
||||
git commit -m "$COMMIT_MSG"
|
||||
|
||||
echo "Pushing to origin main..."
|
||||
git push origin main
|
||||
|
||||
echo "Done!"
|
||||
Reference in New Issue
Block a user