Skip to content

jsmithdev/sfdx-deploy-instructions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

sfdx-deploy-instructions

Covert with SFDX; This creates a folder called deploy

sfdx force:source:convert -r force-app -d deploy

Now you can deploy from the resulting deploy directory

sfdx force:mdapi:deploy -d deploy -w -1 --verbose

πŸ“Œ Above deploys to the default org set

  • Add -u [email protected] or -u alias to deploy else where
  • To run tests add -l RunSpecifiedTests -r ApexTestName

Results should more or less mirror below

Using specified username me(a)jsmith.dev

Job ID | 0Af1U000015XR14SAG
MDAPI PROGRESS | β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 10/10 Components

TYPE FILE NAME ID
──────────────────────── ──────────────────────────────────── ────────────────────────── ──────────────────
deploy/package.xml package.xml
ExampleClass deploy/classes/Example.cls Example 01p1U00000QWibCQAT

About

Instructions to deploy with sfdx for projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published