mirror of
https://github.com/Xe138/windmill-git-sync.git
synced 2026-04-01 17:27:23 -04:00
Replace environment variable authentication (WM_TOKEN, WM_WORKSPACE, WM_BASE_URL) with explicit command-line flags (--token, --workspace, --base-url) as required by wmill CLI. According to wmill documentation, when using --base-url, the --token and --workspace flags are required and no local workspace configuration will be used. This is the correct approach for a stateless containerized service where credentials are passed per-request. This fixes the exit code 255 error that occurred when wmill tried to run sync without proper workspace configuration.