Skip to main content
Deploys pull source from your connected GitHub repository. Since source comes from Git, your .gitignore controls which files are excluded from the build context.

How it works

When you run floo deploy, the build system clones your repository from GitHub. Files excluded by .gitignore are never sent to the build server.

Best practices

Add large or sensitive files to .gitignore:
# Secrets (never commit these)
.env
.env.*

# Large data files
*.csv
*.sqlite
data/

# Build artifacts
node_modules/
__pycache__/
.venv/
target/
dist/
build/

# Media
*.mp4
*.mov
uploads/

# IDE
.idea/
.vscode/
.DS_Store

Dockerfile .dockerignore

If your project uses a Dockerfile, the .dockerignore file controls what gets copied into the Docker build context. This is the standard Docker mechanism:
node_modules
.git
.env
*.md

Checking build context

The deploy output shows the build progress:
floo deploy
Building... done (45s)
If builds are slow, ensure large files are excluded via .gitignore or .dockerignore.