aptible config:set
then deploying your app through Dockerfile Deploy or Direct Docker Image Deploy will deploy your app twice:
- Once to apply the Configuration changes.
- Once to deploy the new Image.
For Dockerfile Deploy
To synchronize a Configuration change and code release when using Dockerfile Deploy: Step 1: Push your code to a new deploy branch on Aptible. Any name will do, as long as it’s notmaster
, but we recommend giving it a random-ish name like in the example below. Pushing to a branch other than master
will not trigger a deploy on Aptible. However, the new code will be available for future deploys.
aptible deploy
command:
For Direct Docker Image Deploy
Please use theaptible deploy
CLI command to deploy your app if you are using Direct Docker Image Deploy. If you are not using aptible deploy
, please review the Direct Docker Image Deploy instructions. When using aptible deploy
with Direct Docker Image Deploy, you may append environment variables to the aptible deploy
command: