Compare commits

..

No commits in common. "ca438c9016599598b78621d72880a7d572f59e2b" and "f1c07cea8e82c2442d2d287193392d6c2eb8fbe9" have entirely different histories.

View File

@ -10,12 +10,21 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
run: |
echo "✅ Manual checkout and workspace setup"
echo "Current directory: $(pwd)"
echo "Git status:"
git status || echo "Not a git repo, fetching code..."
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x' # ou sua versão
# 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 "Looking for .sln files:"
find . -name "*.sln" -type f
- name: Restore dependencies
run: dotnet restore
@ -29,13 +38,7 @@ jobs:
- name: Publish application
run: dotnet publish --configuration Release --output ./publish
- name: Build Docker image 1
run: |
docker build -t ytextractor:${{ github.sha }} -f YTExtractor/Dockerfile .
docker tag ytextractor:${{ github.sha }} registry.redecarneir.us/ytextractor:latest
docker tag ytextractor:${{ github.sha }} registry.redecarneir.us/ytextractor:${{ github.sha }}
- name: Build Docker image 2
- name: Build Docker image
run: |
echo "Current directory: $(pwd)"
echo "Files in current directory:"