Git and deploys
Deploy from a scriptPro
You want: a deploy that updates the fields without anyone opening the admin.
set -e
git pull
wp ugly-fields check # stops here if a file is broken
wp ugly-fields upgrade # stored data up to date
wp ugly-fields sync # the saved groups take the files| Command | What it does |
|---|---|
check | Reads every JSON of the theme and fails if one is not valid |
upgrade | Brings the stored data up to date |
sync | The saved groups take what the files say |
Did this article answer your question?
Thank you. It helps us make the documentation better. Need more help?