From 87d2dc6b89d3929a0810bc7d33bf5b6bbdda39e2 Mon Sep 17 00:00:00 2001 From: Kim Date: Mon, 23 Oct 2023 14:31:18 +0200 Subject: [PATCH] twa --- .gitea/workflows/stage-deploy.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: |