diff --git a/.gitea/workflows/stage-deploy.yaml b/.gitea/workflows/stage-deploy.yaml index 7fb18b819..507badc4d 100644 --- a/.gitea/workflows/stage-deploy.yaml +++ b/.gitea/workflows/stage-deploy.yaml @@ -15,11 +15,13 @@ jobs: - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." - name: Build backend uses: actions/setup-dotnet@v3 - - run: | + with: + dotnet-version: '7.x.x' + run: | dotnet publish ${{ gitea.workspace }}/csharp/App/Backend/Backend.csproj -c Release -r linux-x64 --self-contained true -p:PublishTrimmed=false - name: Build frontend uses: actions/setup-node@v3 - - run: | + run: | npm run build - name: copy everything to Stage run: |