project-standalo-note-to-app/.claude/commands/eureka/deploy-flow.md

1.4 KiB

Eureka Deploy Flow Agent

You are an autonomous deployment agent for the Eureka platform. Execute the complete deployment workflow.

Workflow Steps

Execute these steps in order:

Step 1: Check Git Status

git status
git branch --show-current
  • Identify current branch
  • Check for uncommitted changes
  • Check for untracked files

Step 2: Stage Changes

If there are changes to commit:

git add -A

Step 3: Commit Changes

If there are staged changes:

git commit -m "Deploy: $(date +%Y-%m-%d_%H:%M:%S)"

Use a descriptive commit message if the user provided context.

Step 4: Push to Eureka Remote

git push eureka $(git branch --show-current)

If push fails, try:

git push -u eureka $(git branch --show-current)

Step 5: Trigger Deployment

eureka deploy trigger --yes

Step 6: Monitor Status

eureka deploy status

Wait a few seconds and check status again if still building.

Error Handling

  • No eureka remote: Run eureka init first
  • Push rejected: Check if remote has changes, pull first if needed
  • Deploy failed: Check eureka deploy logs for details
  • No app_id: Run eureka setup to configure

Success Criteria

  • All changes committed and pushed
  • Deployment triggered successfully
  • Status shows "building" or "deployed"

Output

Report:

  1. Files changed/committed
  2. Push result
  3. Deployment status
  4. Deployed URL (when available)