fix: updated yaml files for better github storage

This commit is contained in:
Ida Dittrich 2026-03-05 10:40:36 +01:00
parent ad570c405a
commit af227206f6
4 changed files with 22 additions and 0 deletions

View file

@ -38,6 +38,11 @@ on:
- prod - prod
- int - int
# Cancel in-progress runs when a new run is triggered (saves logs/storage)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env: env:
PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }} PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
REGION: europe-west6 # Zurich region REGION: europe-west6 # Zurich region

View file

@ -10,6 +10,11 @@ on:
- int - int
workflow_dispatch: workflow_dispatch:
# Cancel in-progress runs when a new run is triggered (saves logs/storage)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -50,6 +55,7 @@ jobs:
path: | path: |
release.zip release.zip
!venv/ !venv/
retention-days: 5
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View file

@ -10,6 +10,11 @@ on:
- main - main
workflow_dispatch: workflow_dispatch:
# Cancel in-progress runs when a new run is triggered (saves logs/storage)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -50,6 +55,7 @@ jobs:
path: | path: |
release.zip release.zip
!venv/ !venv/
retention-days: 5
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View file

@ -13,6 +13,11 @@ on:
paths: paths:
- 'requirements.txt' - 'requirements.txt'
# Cancel in-progress runs when a new run is triggered (saves logs/storage)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
update-lock: update-lock:
runs-on: ubuntu-latest runs-on: ubuntu-latest