Ver código fonte

Comment out Copying the sqlite database

master
Daniel Covington 2 semanas atrás
pai
commit
64f0842677
1 arquivos alterados com 7 adições e 7 exclusões
  1. +7
    -7
      docker-publish.ps1

+ 7
- 7
docker-publish.ps1 Ver arquivo

@@ -66,16 +66,16 @@ scp @scpArgs
if ($LASTEXITCODE -ne 0) { Write-Error "scp failed (exit $LASTEXITCODE)." }

# ---------------------------------------------------------------------------
# Step 3 — copy the SQLite database (third password prompt)
# Step 3 — copy the SQLite database (disabled — do not overwrite live data)
# ---------------------------------------------------------------------------
Write-Step "Copying database/app.sqlite to $SSH_USER@$SSH_HOST"
$scpDbArgs = Get-BaseArgs
$scpDbArgs += "database/app.sqlite", "${SSH_USER}@${SSH_HOST}:${REPO_PATH}/database/app.sqlite"
scp @scpDbArgs
if ($LASTEXITCODE -ne 0) { Write-Error "scp database failed (exit $LASTEXITCODE)." }
# Write-Step "Copying database/app.sqlite to $SSH_USER@$SSH_HOST"
# $scpDbArgs = Get-BaseArgs
# $scpDbArgs += "database/app.sqlite", "${SSH_USER}@${SSH_HOST}:${REPO_PATH}/database/app.sqlite"
# scp @scpDbArgs
# if ($LASTEXITCODE -ne 0) { Write-Error "scp database failed (exit $LASTEXITCODE)." }

# ---------------------------------------------------------------------------
# Step 4 — start the container (fourth password prompt)
# Step 4 — start the container (third password prompt)
# ---------------------------------------------------------------------------
Write-Step "Starting container on $SSH_USER@$SSH_HOST"



Carregando…
Cancelar
Salvar

Powered by TurnKey Linux.