Fusion auto-merges tasks to local dev and pushes to GitHub dev. This
workflow keeps Gitea dev in sync so Coolify's Gitea webhook redeploys
dev.sase.tr.
Flow:
Fusion task → local dev → github/dev push
→ this workflow fires
→ push to gitea/dev (origin)
→ Coolify webhook → dev.sase.tr deploy
GITEA_PUSH_URL secret holds the authenticated Gitea remote URL.
Production server's working tree had a modified tsbuildinfo from previous
builds that was blocking 'git pull' after we removed the file from tracking.
Switch to 'git fetch origin main + git reset --hard origin/main' so the
deploy server always matches main exactly, ignoring any local working-tree
state.
Single-developer repo, all pushes go directly to main and the
Deploy workflow runs nest build (which type-checks) on every
push, so CI's typecheck/build duplicated that work. Tests in
the suite are mock-setup-broken and unrelated to production
behavior — keeping a perma-red CI just adds noise.
Lint runs locally before push; typecheck regressions surface
in the deploy build step.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Newer versions of the action removed this input. The script already
starts with `set -euo pipefail`, so any non-zero exit aborts the run
without the deprecated flag.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
pnpm/action-setup@v4 errors when both action input "version" and
package.json "packageManager" are set. Drop the action input so
package.json remains the single source of truth.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>