From 5ca518f7b50cffa56fb3d42c3521cf7df23e7cb9 Mon Sep 17 00:00:00 2001 From: Kim Date: Mon, 23 Oct 2023 14:20:06 +0200 Subject: [PATCH] update workflows --- .gitea/workflows/prod-deploy.yaml | 5 ----- .gitea/workflows/stage-deploy.yaml | 3 --- 2 files changed, 8 deletions(-) diff --git a/.gitea/workflows/prod-deploy.yaml b/.gitea/workflows/prod-deploy.yaml index 5d26d6e56..b3c7893d4 100644 --- a/.gitea/workflows/prod-deploy.yaml +++ b/.gitea/workflows/prod-deploy.yaml @@ -1,8 +1,6 @@ name: Production-Deploy on: push: - branches: - - 'main' tags: - v1.** @@ -15,9 +13,6 @@ jobs: - name: Check out repository code uses: actions/checkout@v3 - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." - - name: Install build requirements - run: | - apt install dotnet - name: Build backend run: | dotnet publish ${{ gitea.workspace }}/csharp/App/Backend/Backend.csproj -c Release -r linux-x64 --self-contained true -p:PublishTrimmed=false diff --git a/.gitea/workflows/stage-deploy.yaml b/.gitea/workflows/stage-deploy.yaml index 81cb2a7eb..adbf0583f 100644 --- a/.gitea/workflows/stage-deploy.yaml +++ b/.gitea/workflows/stage-deploy.yaml @@ -13,9 +13,6 @@ jobs: - name: Check out repository code uses: actions/checkout@v3 - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." - - name: Install build requirements - run: | - apt install dotnet - name: Build backend run: | dotnet publish ${{ gitea.workspace }}/csharp/App/Backend/Backend.csproj -c Release -r linux-x64 --self-contained true -p:PublishTrimmed=false