Skip to content

Instantly share code, notes, and snippets.

@toddboyd
Created June 15, 2021 21:16
Show Gist options
  • Save toddboyd/5fdd7661fa00a48b028fb834e1f76fdf to your computer and use it in GitHub Desktop.
Save toddboyd/5fdd7661fa00a48b028fb834e1f76fdf to your computer and use it in GitHub Desktop.
Deploy source to scratch org
# Deploy source to scratch org
Write-Host -ForegroundColor green "Deploying source to scratch org..."
& sfdx force:source:push -u $orgName
if ($LASTEXITCODE -ne 0) {
exit 1
}
Write-Host ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment