test: deploy build
All checks were successful
Deploy to Production / deploy (push) Successful in 3s

This commit is contained in:
2026-01-04 04:12:48 -06:00
parent f79ff6c434
commit 32852be42b

View File

@@ -19,5 +19,5 @@ jobs:
powershell -Command "if (Test-Path 'C:\projects\digital-resume-FE') { Set-Location C:\projects\digital-resume-FE; git pull origin main } else { New-Item -ItemType Directory -Path C:\projects -Force; Set-Location C:\projects; git clone https://gitea.sashabayda.ca/Bayda77/digital-resume-FE.git; Set-Location digital-resume-FE }" powershell -Command "if (Test-Path 'C:\projects\digital-resume-FE') { Set-Location C:\projects\digital-resume-FE; git pull origin main } else { New-Item -ItemType Directory -Path C:\projects -Force; Set-Location C:\projects; git clone https://gitea.sashabayda.ca/Bayda77/digital-resume-FE.git; Set-Location digital-resume-FE }"
powershell -Command "$container = docker ps -a -q -f name=resume-frontend; if ($container) { docker stop resume-frontend; Start-Sleep -Seconds 2; docker rm resume-frontend }" powershell -Command "$container = docker ps -a -q -f name=resume-frontend; if ($container) { docker stop resume-frontend; Start-Sleep -Seconds 2; docker rm resume-frontend }"
powershell -Command "Set-Location C:\projects\digital-resume-FE; docker build -t resume-frontend:latest ." powershell -Command "Set-Location C:\projects\digital-resume-FE; docker build -t resume-frontend:latest ."
powershell -Command "docker run -d --name resume-frontend --restart unless-stopped -p 3000:80 resume-frontend:latest" powershell -Command "docker run -d --name resume-frontend --restart unless-stopped -p 3001:80 resume-frontend:latest"
powershell -Command "docker image prune -f" powershell -Command "docker image prune -f"