https://<app>-dev.getfloo.app.
floo update).
Arguments
Flags
What it does
- Reads
[app] namefromfloo.app.toml. - Checks the folder: it must be the root of a git repository with at least one commit and no uncommitted changes. floo deploys commits, so uncommitted edits would be left out.
- Finds the project:
- The folder has a
floogit remote: pushes to it after checking it belongs to the app named infloo.app.toml. - A floo-hosted project with that name exists: adds the
flooremote and pushes. - Neither: creates a floo-hosted project with that name (the same as
floo projects create), adds theflooremote, and replaces the project’s starter commit with yours.
- The folder has a
- Pushes
HEADto the project’s default branch with a short-lived credential. Nothing is stored in your git config or keychain except theflooremote. - Waits for that commit’s dev deploy, like
floo deploys watch --commit.
floo releases promote.
When the folder isn’t ready
floo deploy stops and prints the command that fixes it:
If the first push fails after the project was created, run
floo deploy again. It remembers that the starter commit still has to be replaced.
Examples
--json, the wait prints one JSON object per line on stdout as the deploy moves, and errors use the standard success: false shape with error.code and error.suggestion.
Related
- Deploy without a GitHub repository: the full walkthrough.
floo projects: create, list, and clone floo-hosted projects.- To deploy from your own GitHub repository instead, use
floo apps github connect.