From 66a03ba49ce2ed1dd4ca248b9ee1254c9d610e3d Mon Sep 17 00:00:00 2001 From: Kim Date: Mon, 23 Oct 2023 14:27:23 +0200 Subject: [PATCH] further tweaks to workflows --- .gitea/workflows/prod-deploy.yaml | 6 +++--- .gitea/workflows/stage-deploy.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/prod-deploy.yaml b/.gitea/workflows/prod-deploy.yaml index 251d2ba23..cacc8d0d8 100644 --- a/.gitea/workflows/prod-deploy.yaml +++ b/.gitea/workflows/prod-deploy.yaml @@ -11,14 +11,14 @@ jobs: - run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Check out repository code - - uses: actions/checkout@v3 - - uses: actions/setup-dotnet@v3 - - uses: actions/setup-node@v3 + uses: actions/checkout@v3 - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." - name: Build backend + uses: actions/setup-dotnet@v3 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: | npm run build - name: copy everything to Production diff --git a/.gitea/workflows/stage-deploy.yaml b/.gitea/workflows/stage-deploy.yaml index f6217c3d1..d2d720ba4 100644 --- a/.gitea/workflows/stage-deploy.yaml +++ b/.gitea/workflows/stage-deploy.yaml @@ -11,14 +11,14 @@ jobs: - run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Check out repository code - - uses: actions/checkout@v3 - - uses: actions/setup-dotnet@v3 - - uses: actions/setup-node@v3 + uses: actions/checkout@v3 - run: echo " The ${{ gitea.repository }} repository has been cloned to the runner." - name: Build backend + uses: actions/setup-dotnet@v3 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: | npm run build - name: copy everything to Stage