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