Força atualização da versão com drag global e estrutura app/ consolidada
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,4 +1,14 @@
|
||||
$message = Read-Host "Digite a descrição do commit para homologação"
|
||||
git add .
|
||||
git commit -m "$message"
|
||||
git push origin main
|
||||
# deploy-homolog.ps1
|
||||
$source = "$PSScriptRoot\app\*"
|
||||
$destination = "\\216.22.5.141\home\app_fatura_homolog\app"
|
||||
|
||||
# (1) Envia somente a pasta `app/`
|
||||
Copy-Item -Path $source -Destination $destination -Recurse -Force
|
||||
|
||||
# (2) Envia arquivos raiz essenciais (excluindo os antigos bagunçados)
|
||||
$arquivos = @(".env", "requirements.txt", "docker-compose.yml", "Dockerfile", ".drone.yml")
|
||||
foreach ($arquivo in $arquivos) {
|
||||
Copy-Item "$PSScriptRoot\$arquivo" "\\216.22.5.141\home\app_fatura_homolog\" -Force
|
||||
}
|
||||
|
||||
Write-Host "✅ Deploy concluído para homologação."
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user