increase logging in deploy script
All checks were successful
Continuous Integration / Update Development (push) Successful in 2m24s

for some reason it seems to not be fully updating the local repo, so increase logging and double pull
This commit is contained in:
2025-12-10 20:20:06 -06:00
parent 50b9924627
commit 22c909cfa5

View File

@@ -46,8 +46,14 @@ jobs:
- name: Update Application Code
run: |
cd /var/www/html/milsim-site-v4
version=`git log -1 --format=%H`
echo "Current Revision: $version"
echo "Updating to: ${{ github.sha }}
sudo -u nginx git reset --hard
sudo -u nginx git pull origin main
sudo -u nginx git pull origin main
new_version=`git log -1 --format=%H`
echo "Sucessfully updated to: $new_version
- name: Update Shared Dependencies and Fix Permissions
run: |