From 3112fe12de6748a3c3d3fc6a39ffd49b970f8a59 Mon Sep 17 00:00:00 2001 From: Ricardo Carneiro <71648276+ricarneiro@users.noreply.github.com> Date: Tue, 27 May 2025 00:56:52 -0300 Subject: [PATCH] fix: enviar arquivos --- .gitea/workflows/deploy.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d51cf85..ee51ef4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -11,16 +11,20 @@ jobs: steps: - name: Checkout code run: | - echo "✅ Checking workspace directory structure" - pwd - echo "Root files:" + echo "✅ Manual checkout and workspace setup" + echo "Current directory: $(pwd)" + echo "Git status:" + git status || echo "Not a git repo, fetching code..." + + # Fazer checkout manual se necessário + git fetch origin main || echo "Fetch failed" + git reset --hard origin/main || echo "Reset failed" + git clean -fd || echo "Clean failed" + + echo "After checkout - Root files:" ls -la - echo "YTExtractor folder contents:" - ls -la YTExtractor/ || echo "YTExtractor folder not found" - echo "Looking for .sln files..." + echo "Looking for .sln files:" find . -name "*.sln" -type f - echo "Looking for Dockerfile..." - find . -name "Dockerfile" -type f - name: Restore dependencies run: | -- 2.45.2