[2025-08-26 07:23:53] 🚀 Starting deployment for Syntax-Sonata/school-management on branch pirpurkullass.edu.bd
[2025-08-26 07:23:53] 🔑 Connecting to iris-us-cp3.hostever.com:1004...
[2025-08-26 07:23:53] 🔐 Using password authentication
[2025-08-26 07:23:53] 🔗 Connected to server successfully
[2025-08-26 07:23:53] 🔧 Preparing deployment directory...
[2025-08-26 07:23:53]    $ mkdir -p /home/limexco1/pirpurkullass.edu.bd
[2025-08-26 07:23:53]    $ pwd
[2025-08-26 07:23:53] /home/limexco1

[2025-08-26 07:23:53] 🔑 Setting up GitHub SSH key...
[2025-08-26 07:23:53] ⚠️  No SSH key found for GitHub access
[2025-08-26 07:23:53] ⚠️  Will use token-based authentication
[2025-08-26 07:23:53] 🌐 Configuring Git for HTTPS access
[2025-08-26 07:23:53]    $ git config --global --add safe.directory "*"
[2025-08-26 07:23:53] 🔄 Handling repository operations...
[2025-08-26 07:23:53] 🔍 Checking repository status at: /home/limexco1/pirpurkullass.edu.bd
[2025-08-26 07:23:53]    $ mkdir -p /home/limexco1/pirpurkullass.edu.bd
[2025-08-26 07:23:53] 📁 Repository check result: 'true'
[2025-08-26 07:23:53] 📁 Found existing git repository - verifying...
[2025-08-26 07:23:53] 🔗 Current remote: https://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@github.com/Syntax-Sonata/school-management.git
[2025-08-26 07:23:53] ✅ Correct repository detected, updating...
[2025-08-26 07:23:53] 🔄 Updating existing repository (safe, no file deletions)...
[2025-08-26 07:23:53] 🔗 Ensuring origin is set to: https://***TOKEN***@github.com/Syntax-Sonata/school-management.git
[2025-08-26 07:23:53]    $ cd '/home/limexco1/pirpurkullass.edu.bd' && git remote set-url origin 'https://***TOKEN***@github.com/Syntax-Sonata/school-management.git'
[2025-08-26 07:23:53]    $ cd '/home/limexco1/pirpurkullass.edu.bd' && git fetch origin --prune
[2025-08-26 07:23:54] From https://github.com/Syntax-Sonata/school-management
 * [new branch]      tss115413.edu.bd -> origin/tss115413.edu.bd

[2025-08-26 07:23:54]    $ cd '/home/limexco1/pirpurkullass.edu.bd' && git checkout pirpurkullass.edu.bd
[2025-08-26 07:23:54] Already on 'pirpurkullass.edu.bd'
D	.env.example

[2025-08-26 07:23:54]    $ cd '/home/limexco1/pirpurkullass.edu.bd' && git stash push -m 'auto-stash before deploy' || true
[2025-08-26 07:23:54] Saved working directory and index state On pirpurkullass.edu.bd: auto-stash before deploy

[2025-08-26 07:23:54]    $ cd '/home/limexco1/pirpurkullass.edu.bd' && git reset --hard origin/pirpurkullass.edu.bd
[2025-08-26 07:23:54] HEAD is now at 4425ec1 active class

[2025-08-26 07:23:54] ✅ Repository updated successfully (untracked files preserved)
[2025-08-26 07:23:54] 🔍 Verifying repository state...
[2025-08-26 07:23:54]    $ cd '/home/limexco1/pirpurkullass.edu.bd' && echo 'Current directory: '$(pwd)
[2025-08-26 07:23:54] Current directory: /home/limexco1/pirpurkullass.edu.bd

[2025-08-26 07:23:54]    $ cd '/home/limexco1/pirpurkullass.edu.bd' && echo 'Current branch: '$(git rev-parse --abbrev-ref HEAD)
[2025-08-26 07:23:54] Current branch: pirpurkullass.edu.bd

[2025-08-26 07:23:54]    $ cd '/home/limexco1/pirpurkullass.edu.bd' && echo 'Latest commit: '$(git log -1 --oneline)
[2025-08-26 07:23:55] Latest commit: 4425ec1 active class

[2025-08-26 07:23:55]    $ cd '/home/limexco1/pirpurkullass.edu.bd' && echo 'Repository status: '$(git status --porcelain | wc -l)' uncommitted changes'
[2025-08-26 07:23:55] Repository status: 0 uncommitted changes

[2025-08-26 07:23:55] 📝 Recording last_deployed_sha: 4425ec1dd1ccf121cf49b2aea4931c995d8291e3
[2025-08-26 07:23:55] ✅ Deployment completed successfully!
