diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index b873537..a5cb21c 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -23,13 +23,15 @@ jobs: . - name: Restore backend - run: dotnet restore Backend/ERPCore.sln + working-directory: .gitea/workflows + run: dotnet restore ../../Backend/ERPCore.sln - name: Publish backend + working-directory: .gitea/workflows run: | rm -rf /tmp/erpcore-deploy mkdir -p /tmp/erpcore-deploy - dotnet publish Backend/ERPCore/ERPCore.csproj \ + dotnet publish ../../Backend/ERPCore/ERPCore.csproj \ -c Release \ -r linux-x64 \ --self-contained true \ @@ -73,7 +75,8 @@ jobs: . - name: Build frontend Docker image - run: docker build -t erpcore-frontend:latest Frontend/erp-system + working-directory: .gitea/workflows + run: docker build -t erpcore-frontend:latest ../../Frontend/erp-system - name: Stop & remove existing frontend container run: |