-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Ryan Valizan edited this page Sep 15, 2020
·
2 revisions
Information on the script will be sprinkled into this WIKI page as time allows. This is a good way to discover issues and/or plan out refactoring adjustments to be made.
-
Web server have git capability -- think this is the most important one
- Git version 2.6+ has been tested
- A method to store your secrete variables such as
- username
- password/token
- SSH access to execute scripts on WordPress server
- note:
cron
can serve as a slower alternative to SSH
- note:
- Some kind of CI pipeline or
cron
job to hook into after a branch update event triggers an agent to run the script remotely
- Parameter options for dynamic use
- Separated functions
- Is executed through an ssh call to your WordPress web server
- Check a git repo on a WordPress web server for changes
- Stashes changes before working on merges
- Pulls in latest release/master branch from development repository — on Azure DevOps, GitHub, BitBucket, etc.
- Merges new changes from DevOps into WordPress Live branch
- Returns WordPress updates and changes using git stash pop
- Commits the new changes on top of the latest master branch head
- Pushes WordPress live branch back to the development repository for the team to handle PR to DevOps master.