Pagely offers an easy-to-use Docker container for deploying from your preferred CI/CD tool. This article serves as a reference for reviewing the available variables.
Note: If you're looking for a tutorial on how to set up automatic deployments, please see our documentation on automatically deploying WordPress sites from version control.
If you want to take a look at the source files, they can be found here:
Variable Quick Reference
PAGELY_DEPLOY_DEST: "/httpdocs" PAGELY_INTEGRATION_SECRET: $PAGELY_INTEGRATION_SECRET PAGELY_INTEGRATION_ID: "HhYn9Per7Ni3Jhz3McVpR" PAGELY_APP_ID: "12345" PAGELY_WORKING_DIR: "/dist"
Docker Image Variables
This variable contains the destination path that will be deployed to.
Deploying to the app's root directory:
Deploying a WordPress theme:
This variable contains the integration secret. For security purposes, this should always use a protected variable whenever possible.
As a protected variable:
This variable contains your integration ID.
This variable contains the ID of the app that you will be deploying to.
This variable contains the working directory to be deployed. If left empty, it will use your CI/CD tool's default directory.
It is useful for deploying from a different directory inside your build environment, such as when repository needs to be built before deploying.
Using Bitbucket's default clone directory variable:
Using a manually-defined build path: