5e9939724c
Publish TaskQuery helpers to script scope after import so deploy checks work from nested callers; add kalinamall-only smoke tests and RDP_DEPLOY_FUNCTIONS_ONLY hook. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
435 B
PowerShell
21 lines
435 B
PowerShell
<#
|
|
.SYNOPSIS
|
|
Push main to kalinamall only (skip public GitHub origin).
|
|
#>
|
|
[CmdletBinding()]
|
|
param(
|
|
[string]$Branch = 'main'
|
|
)
|
|
|
|
Set-StrictMode -Version Latest
|
|
$ErrorActionPreference = 'Stop'
|
|
|
|
$repoRoot = Split-Path -Parent $PSScriptRoot
|
|
Push-Location -LiteralPath $repoRoot
|
|
try {
|
|
git push kalinamall $Branch
|
|
Write-Host "Pushed to kalinamall/$Branch (origin/GitHub skipped intentionally)."
|
|
} finally {
|
|
Pop-Location
|
|
}
|