aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-11-04 23:44:22 +0100
committerGitHub <noreply@github.com>2025-11-04 23:44:22 +0100
commit04b94e421b2886e6ff2139e31ea269be934a9ef6 (patch)
treefe6c39a445d8ac73979c831f584862f71d184423
parent5f4e996da4b8bcac2aecda96f53363e3ca15a058 (diff)
Prevent concurrent execution of actions [skip ci]
-rw-r--r--.github/workflows/deploy.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 827ffd1..fb1695c 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -5,6 +5,10 @@ on:
branches:
- main
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
build-frontend:
runs-on: ubuntu-latest
@@ -62,7 +66,7 @@ jobs:
retention-days: 7
deploy:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
needs: [build-frontend, build-backend]
name: Deploy to production server
environment: Production