It is important that you have the following:
- Git Permission to the repo.
- SSH access to the WPE Server.
- Github CLI installed on your machine.
- jq (Command-line JSON processor) installed on your machine.
Name | Type | Usage |
---|---|---|
ENV_SITE_LIST |
Environment Variable | Comma separated list of install to migrate |
ENV_FOLDER_PATH |
Environment Variable | Insert the name of the path you'd like to pull your sites to. Sites will automatically be deleted after migration. |
ENV_GH_USER |
Environment Variable | Your Github Username. |
ENV_GH_TOKEN |
Environment Variable | Your Github access token. |
ENV_WPE_USER |
Environment Variable | Your WPE API Username. (uuid). |
ENV_WPE_TOKEN |
Environment Variable | Your WPE API Key. |
$ sh script.sh