update deploy path cd
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user