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 # Run database migrations
Write-Host "Running database migrations..." Write-Host "Running database migrations..."
try { try {
cd "${{ env.DEPLOY_PATH }}" & cd "${{ env.DEPLOY_PATH }}"
& "${{ env.MIGRATE_BINARY }}.exe" & ".\${{ env.MIGRATE_BINARY }}.exe"
} catch { } catch {
Write-Warning "Migration failed: $_" Write-Warning "Migration failed: $_"
throw "Migration failed" throw "Migration failed"