aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-01-01 02:21:17 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2026-01-01 02:21:17 +0100
commit53597c414255d898a082cbc464e8a4b1be11fc97 (patch)
treeab05ebd7640c3155fc1f9e64bb7fd0f88fb828ff /.github
parent9f14e600681a6869e741db320c9692853233e0df (diff)
Update workflow environment
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/deploy.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index c8beb83..5460607 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -3,7 +3,7 @@ name: Deploy to production
on:
push:
branches:
- - main
+ - old-main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -38,7 +38,7 @@ jobs:
name: Build frontend artifact
needs: detect-changes
if: needs.detect-changes.outputs.frontend == 'true'
- environment: Production
+ environment: BusUrbano Prod
steps:
- uses: actions/checkout@v6
with:
@@ -72,7 +72,7 @@ jobs:
name: Build backend artifact
needs: detect-changes
if: needs.detect-changes.outputs.backend == 'true'
- environment: Production
+ environment: BusUrbano Prod
permissions:
contents: read
steps:
@@ -82,7 +82,7 @@ jobs:
lfs: false
- uses: actions/setup-dotnet@v5
with:
- dotnet-version: '9.0.x'
+ dotnet-version: "9.0.x"
- name: Build backend
run: dotnet publish -c Release -r linux-arm64 --self-contained false src/Costasdev.Busurbano.Backend/Costasdev.Busurbano.Backend.csproj -o dist/backend
- name: Archive Backend Artifact
@@ -97,7 +97,7 @@ jobs:
name: Build stop report script
needs: detect-changes
if: needs.detect-changes.outputs.stops-script == 'true'
- environment: Production
+ environment: BusUrbano Prod
permissions:
contents: read
steps:
@@ -121,7 +121,7 @@ jobs:
needs.build-backend.result == 'success' ||
needs.build-stops-script.result == 'success')
name: Deploy to production server
- environment: Production
+ environment: BusUrbano Prod
steps:
- name: Download Frontend Artifact
if: needs.detect-changes.outputs.frontend == 'true'