Auto-sync: 2026-02-13 07:38:27
Synced workflows from Windmill workspace
This commit is contained in:
16
workflows/u/antigravity/git_sync.schedule.yaml
Normal file
16
workflows/u/antigravity/git_sync.schedule.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
description: ''
|
||||
args: {}
|
||||
cron_version: v2
|
||||
email: antigravity@keinafarm.com
|
||||
enabled: true
|
||||
is_flow: true
|
||||
no_flow_overlap: false
|
||||
on_failure_exact: false
|
||||
on_failure_times: 1
|
||||
on_recovery_extra_args: {}
|
||||
on_recovery_times: 1
|
||||
on_success_extra_args: {}
|
||||
schedule: 0 */2 * * * *
|
||||
script_path: u/antigravity/git_sync
|
||||
timezone: Asia/Tokyo
|
||||
ws_error_handler_muted: false
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
exec > >(tee -a /tmp/debug_script.log) 2>&1
|
||||
|
||||
echo "=== Windmill Workflow Git Sync ==="
|
||||
|
||||
@@ -58,12 +59,12 @@ fi
|
||||
echo "Pulling from Windmill..."
|
||||
# wmill sync pull will use the workspace defined in wmill.yaml or env vars.
|
||||
# We add --yes to avoid prompts.
|
||||
# if wmill sync pull --skip-variables --skip-secrets --skip-resources --yes --verbose; then
|
||||
echo "Successfully pulled from Windmill (skipped for testing)."
|
||||
# else
|
||||
# echo "Error: wmill sync pull failed. Check your WM_TOKEN and connection."
|
||||
# exit 1
|
||||
# fi
|
||||
if wmill sync pull --skip-variables --skip-secrets --skip-resources --yes --verbose; then
|
||||
echo "Successfully pulled from Windmill."
|
||||
else
|
||||
echo "Error: wmill sync pull failed. Check your WM_TOKEN and connection."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check for changes
|
||||
# Force add everything first to capture untracked files
|
||||
|
||||
Reference in New Issue
Block a user