From 04b94e421b2886e6ff2139e31ea269be934a9ef6 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Tue, 4 Nov 2025 23:44:22 +0100 Subject: Prevent concurrent execution of actions [skip ci] --- .github/workflows/deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.github/workflows/deploy.yml') 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 -- cgit v1.3