Sync Config
Keep Lunar Hub's copy of your config repo current on every push — with the sync-config GitHub Action, or a GitLab CI job.
GitHub Actions
Example
name: Sync Lunar Config
on:
push:
branches: [main]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: earthly/lunar-actions/sync-config@main
with:
manifest-url: github://my-org/my-config-repo@main
hub-token: ${{ secrets.LUNAR_HUB_TOKEN }}
hub-host: hub.example.com
lunar-version: v2.5.0
rerun-code-collectors: "true"Inputs
Input
Required
Default
CLI equivalent
Versioning
GitLab CI
Useful flags
Flag
Effect
Validating config on merge requests
Last updated
