diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3620dea..cab307b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,13 +18,13 @@ jobs: dotnet-version: '8.0.x' - name: Restore dependencies - run: dotnet restore + run: dotnet restore src/ - name: Build - run: dotnet build --configuration Release --no-restore + run: dotnet build src/ --configuration Release --no-restore - name: Publish - run: dotnet publish -c Release -o publish + run: dotnet publish src/ -c Release -o publish - name: Copy files to server uses: appleboy/scp-action@v0.1.7 diff --git a/.gitignore b/.gitignore index 23328a3..ba5d491 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ src/bin/* src/obj/* src/logs/* src/Elmah/* +publish/*