update deploy path cd

This commit is contained in:
Fran Jurmanović
2025-07-31 18:01:09 +02:00
parent e575f641c5
commit ef7d31e37e

View File

@@ -94,8 +94,8 @@ jobs:
# Run database migrations
Write-Host "Running database migrations..."
try {
cd "${{ env.DEPLOY_PATH }}"
& "${{ env.MIGRATE_BINARY }}.exe"
& cd "${{ env.DEPLOY_PATH }}"
& ".\${{ env.MIGRATE_BINARY }}.exe"
} catch {
Write-Warning "Migration failed: $_"
throw "Migration failed"