File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,53 @@ If there's SSH & Git, you can sync WordPress and Azure DevOps using git.
1414
1515Let your CI Pipeline manage getting those plugin updates from your unix WordPress server.
1616
17+ #### Azure Pipeline
18+
19+
20+ #### Live WordPress Branch History
21+
22+ ![ AzureHistory] ( https://github.com/devnetkc/readme-assets/raw/master/Images/WordPress-commit-history.png )
23+
24+ ### How To Use
25+
26+ ```` cmd
27+ bash ~/wp-git-sync.sh \
28+ -b sgLive \
29+ -d sgStage \
30+ -g $(DevOpsHost)wordpress-ssh-git-ci \
31+ -p /home/username/public_html/wp-git-sync \
32+ -t $(DevOpsToken) \
33+ -u $(DevOpsTokenUser)
34+ ````
35+
36+ #### Azure Pipeline
37+
38+ YAML Example:
39+ * note: This example uses Azure Key store variables*
40+
41+ ```` yaml
42+ steps :
43+ - task : SSH@0
44+ displayName : pushChanges
45+ inputs :
46+ sshEndpoint : ' agent-to-siteground'
47+ commands : ' bash ~/wp-git-sync.sh \
48+ -b sgLive \
49+ -d sgStage \
50+ -g $(DevOpsHost)wordpress-ssh-git-ci \
51+ -p /home/username/public_html/wp-git-sync \
52+ -t $(DevOpsToken) \
53+ -u $(DevOpsTokenUser)'
54+ ` ` ` `
55+
56+ Classic Editor Example :
57+
58+ 
59+
60+ Console Log :
61+
62+ 
63+
1764<!-- markdownlint-disable -->
1865# ### Requirements:
1966<!-- markdownlint-restore -->
You can’t perform that action at this time.
0 commit comments