aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-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