Subchapter 2.85
references/cli/plus/deploy/configure.mdMarkdown1 KBView on GitHub
The dg plus deploy configure command will scaffold all the necessary files to allow a git repo to be deployed to Dagster Plus. At minimum, this will create a Github Actions or GitLab CI configuration file, which will automatically handle redeploying to Dagster Plus when commits are merged into the main branch / creating branch deployments for pull requests.
While the command does provide flags / subcommands for specific use cases, invoking it bare is HIGHLY recommended, as this will prompt you for all necessary information, including authenticating with the relevant Git provider (GitHub or GitLab), as well as configuring container registry credentials if necessary (hybrid deployments).
dg plus login must ALWAYS be executed before running this command, which requires that the user create a Dagster Plus account.
IMPORTANT In order to successfully deploy to Dagster Plus, the dagster-cloud python package must be added as a dependency to the project (e.g. uv add dagster-cloud).
dg plus deploy configure