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