Skip to content

fix(deploy): remove untracked files before checkout to unblock production deploys - #20

Merged
mudabs merged 2 commits into
mainfrom
copilot/fix-deploy-to-vps01
Sep 18, 2026
Merged

mudabs merged 2 commits into
mainfrom
copilot/fix-deploy-to-vps01

Conversation

Copilot AI commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

The "Deploy to vps01 through IONOS" job was failing because the server's working directory had accumulated untracked files (e.g. session.txt, sound.txt, model files, static assets), causing git checkout main to abort.

Change

Added git clean -fd after git fetch and before git checkout in the VPS01 deploy script to clear untracked files/directories. -x is intentionally omitted to preserve .gitignore-d files (e.g. .env, runtime configs) on the server.

  git fetch --prune origin main
+ git clean -fd
  if git show-ref --verify --quiet refs/heads/main; then
    git checkout main

@coderabbitai

coderabbitai Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: f8dfa24a-b6b1-4845-8409-0709d38b75d5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job for deployment fix(deploy): remove untracked files before checkout to unblock production deploys Sep 18, 2026
Copilot AI requested a review from mudabs September 18, 2026 05:04

@mudabs mudabs left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@mudabs
mudabs marked this pull request as ready for review September 18, 2026 05:06
@mudabs
mudabs merged commit 49248c1 into main Sep 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants