diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index ee51ef4..0a998ce 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -27,25 +27,16 @@ jobs: find . -name "*.sln" -type f - name: Restore dependencies - run: | - echo "Using solution file from root..." - ls -la *.sln - dotnet restore YTExtractor.sln + run: dotnet restore - name: Build application - run: | - echo "Building solution from root..." - dotnet build YTExtractor.sln --configuration Release --no-restore + run: dotnet build --configuration Release --no-restore - name: Run tests (opcional) - run: | - echo "Running tests on solution..." - dotnet test YTExtractor.sln --no-build --verbosity normal || true + run: dotnet test --no-build --verbosity normal - name: Publish application - run: | - echo "Publishing solution..." - dotnet publish YTExtractor.sln --configuration Release --output ./publish + run: dotnet publish --configuration Release --output ./publish - name: Build Docker image run: |