LASTMILE_
v1.0.0

Remote Syncing

Keep your LastMile configuration synchronized across your team and CI/CD pipelines with remote syncing.

Overview

Remote syncing allows you to store your LastMile configuration in the cloud, ensuring consistency across all environments and team members.

Team Sync

Share configurations across your entire team without committing secrets to git.

CI/CD Integration

Pull configurations automatically in your deployment pipelines.

Setup

1

Authenticate

TERMINAL
$lastmile auth login
2

Enable Remote Sync

TERMINAL
$lastmile sync enable
3

Push Configuration

TERMINAL
$lastmile sync push
> Pushing configuration to remote...
> Encrypted 3 secret values
> Sync complete: project-abc-123

CI/CD Integration

Pull your synced configuration in CI/CD pipelines using a service token:

.github/workflows/deploy.yml
- name: Analyze with LastMile
  run: lastmile analyze
  env:
    LASTMILE_TOKEN: ${{ secrets.LASTMILE_TOKEN }}

- name: Deploy to Railway
  run: lastmile ship railway