Skip to content
This repository was archived by the owner on Aug 31, 2026. It is now read-only.
This repository was archived by the owner on Aug 31, 2026. It is now read-only.

[feature request] --env-file option in aptible deploy #300

Description

@averypelle

It would be great if aptible deploy had an option to synchronize the Aptible Configuration via a file.

Currently we can supply environment variables via aptible deploy as per the docs like

aptible deploy \
  --app "$APP_HANDLE" \
  --docker-image "$DOCKER_IMAGE" \
  FOO=BAR QUX=

It would be awesome if you could add support for an --env-file option or similar, so that the configuration can be set during deploy like so

aptible deploy \
  --app $APP_HANDLE \
  --docker-image $DOCKER_IMAGE \
  --env-file .env.aptible

I am currently instead doing the following

aptible deploy \
    --app $APP_HANDLE \
    --docker-image $DOCKER_IMAGE \
    ${test -f .env.aptible && paste -s -d ' ' .env.aptible}

If this is fixed, it could also make sense to add a similar option to aptible config:set

Thank you for the great product and CLI!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions