Skip to content

La Famille / Field notes

Multi-Cloud Static Deployment

La Famille compiles into a flat, zero-dependency directory containing static HTML, asset trees, and JSON metadata graphs. This makes the build output universally portable across modern web-hosting infrastructures.


☁️ Deployment Targets

1. Cloudflare Pages

Cloudflare Pages provides global edge distribution with fast deployment turnarounds.

Configuration Parameters:

2. GitHub Pages (Actions Workflow)

To deploy natively using GitHub Actions, ensure your repository contains a deployment execution file within .github/workflows/deploy.yml.

Run actions/configure-pages@v6 prior to building so steps.pages.outputs.base_url provides the public site URL to la-famille build:

      - name: Setup Pages
        id: pages
        uses: actions/configure-pages@v6
        with:
          enablement: true

      - name: Build Static Site
        env:
          SITE_URL: ${{ inputs.site_url || vars.SITE_URL || steps.pages.outputs.base_url }}
        run: |
          if [ -n "$SITE_URL" ]; then
            go run ./cmd/la-famille build --site-url "$SITE_URL"
          else
            go run ./cmd/la-famille build
          fi

3. Bitbucket Pipelines & Generic Web Buckets

Because the output contains no server-side execution routines, any traditional container or static pipeline can handle the build loop:

# 1. Pull dependencies and compile content
go run ./cmd/la-famille build

# 2. Sync public directory to your hosting provider's bucket or worker
# (e.g., rsync, aws s3 sync, or cloudflare wrangler login pages deploy)