HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpemobiq/wp-content/plugins/zendesk/DEPLOY.md
# Deployment 🚀

| Resource | Link                                                                |
|:---------|:--------------------------------------------------------------------|
| Wiki     | https://zendesk.atlassian.net/wiki/display/MI/Wordpress+Integration |
| Samson   | https://samson.zende.sk/projects/zendesk_wordpress                  |
| Support  | https://wordpress.org/support/plugin/zendesk                        |
 
## General Rules

- :loudspeaker: Notify `mintegrations@zendesk.com` before any deployment or when something goes wrong.
- :speech_balloon: Notify [#mintegrations-team](https://zendesk.slack.com/messages/C169MJEF8) if you have questions, problems, RAs, permissions.
- :alarm_clock: Our team is based in Manila (UTC+08:00) (avoid off-hours deployments).
- :cop: A deploy-buddy is mandatory in order to perform a deployment in production.
- :no_entry: Always verify there is no code-freeze in place, or strict-mode is enabled.
 
## Restrictions
 
Both code-freeze and strict-mode are periods of time when the rules for making changes to the code, including deployments, infrastructure or related resources become more strict.
 
### Code Freeze
 
Only production hotfixes and critical changes are allowed to be merged and deployed. This usually happens around big holidays like Christmas.
 
### Acceptance Criteria
 
Take time to verify all the PRs included in this deployment.
 
## Stages

| Stage      | Location                      | Notes                                                                |
|:-----------|:------------------------------|:---------------------------------------------------------------------|
| Production | wordpress.org                 | The plugin is published in wordpress.org                             |                                                                
 
### Production

1. Make sure a version bump was created for the changes.
2. Go to [Samson Zendesk Wordpress Production](https://samson.zende.sk/projects/zendesk_wordpress/stages/wordpress-org-release).
3. Check changes and deploy new tag.
4. Ask for a deploy buddy and wait until the deploy is done successfully.
5. Check if [Zendesk Wordpress Plugin Page](https://wordpress.org/plugins/zendesk/#developers) shows the correct version and the correct changelogs.
 
## Recovery

In cases of bad deploy:
1. Revert PR or create another PR that removes the defective change.
2. Wait for review and two :+1:'s before merge.
3. Create a new release tag.
4. Deploy the new tag. Deploy Process for environment should still be followed.