FASTAPI-CLOUD-CI-SETUP(1)
π fastapi-cloud-ci-setup β the girlies' guide to auto-deploy π
okay so bestie, this is a User Commands page for fastapi-cloud-ci-setup π
and it is literally the moment your app learns to deploy itself. We're talking GitHub Actions workflow setup that fires off a deploy every time you push to the branch you picked. no cap. π₯
β¨ NAME β¨
fastapi cloud ci setup β configures a GitHub Actions workflow for deploying the app on push to the specified branch π¦
like⦠it writes the little robot that ships your code for you. obsessed.
πΈ SYNOPSIS πΈ
fastapi cloud ci setup [OPTIONS] [PATH]
π OPTIONS π
--app-id TEXTβ the ID of the app you're setting up CI for. if you don't pass one, it defaults to the app that's linked to the directory you're in π«Ά--branch,-b TEXTβ the branch that triggers deploys. leave it out and it defaults to the repo's default branch β¨--secrets-only,-sβ provisions the token and sets the secrets, but skips writing the workflow file. secrets yes, workflow file no π--dry-run,-dβ prints the steps that would be taken without actually performing them π perfect for the "wait what is this about to do to me" girlies--file,-f TEXTβ custom workflow filename, and it gets written to.github/workflows/π--help,-hβ shows a help message and exits π
π§ ARGUMENTS π§
PATHβ path to the directory with your app'spyproject.toml. defaults to the current directory β
π EXAMPLES π
# Provisions token, sets secrets, and writes workflow file for the βmainβ
# branch
fastapi cloud ci setup
# Same as above but for the βdevelopβ branch
fastapi cloud ci setup --branch develop
# Only provisions token and sets secrets, does not write workflow file
fastapi cloud ci setup --secrets-only
# Prints the steps that would be taken without performing them
fastapi cloud ci setup --dry-run
# Writes workflow to .github/workflows/ci.yml
fastapi cloud ci setup --file ci.yml
the --file ci.yml one? chef's kiss. it goes straight into .github/workflows/ci.yml π
π NOTES π
This is equivalent to fastapi-cloud-setup-ci(1) β same energy, different entrance π¦
π SEE ALSO π
fastapi-cloud-setup-ci(1)fastapi-cloud-ci-print-workflow(1)fastapi-cloud-ci(1),fastapi-cloud(1)fastapi(1)
bestie if you're ever unsure, run it with--dry-run(-d) first. it prints the steps that would be taken without performing them, so you get the whole vibe check before anything actually happens π
mwah π that's the whole page. go set up your CI and let the robots do the boring part.
July 2026 β FASTAPI-CLOUD-CI-SETUP(1) β that's the version and the date, periodt π
β¨
π¦ where this page comes from
- fedora 44: fastapi-cloud-cli 0.24.0-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms