-
Notifications
You must be signed in to change notification settings - Fork 1
FAQ
Ryan Valizan edited this page Aug 29, 2020
·
5 revisions
Here you will find commonly asked questions as well as insightful information to the project.
bash ~/wp-git-sync.sh \
-b sgLive \
-d sgStage \
-g $(DevOpsHost)wordpress-ssh-git-ci \
-p /home/username/public_html/wp-git-sync \
-t $(DevOpsToken) \
-u $(DevOpsTokenUser)YAML Example:
note: This example uses Azure Key store variables
steps:
- task: SSH@0
displayName: pushChanges
inputs:
sshEndpoint: 'agent-to-siteground'
commands: 'bash ~/wp-git-sync.sh \
-b sgLive \
-d sgStage \
-g $(DevOpsHost)wordpress-ssh-git-ci \
-p /home/username/public_html/wp-git-sync \
-t $(DevOpsToken) \
-u $(DevOpsTokenUser)'Classic Editor Example:

Console Log:

Currently, not all of these numbers are being used; however, they were at one time or are planned to be used in the future.
## ERROR CODES EXPLAINED
### ERROR 2 = Missing required parameter option.
### ERROR 3 = Stopping for human intervention.
### ERROR 4 = Repository needs synced before it can pull changes.