mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
chore: update GitHub Actions workflow to trigger on main branch pushes and add concurrency settings
This commit is contained in:
parent
512640354c
commit
b06c70a61d
1 changed files with 10 additions and 0 deletions
10
.github/workflows/docker_build.yaml
vendored
10
.github/workflows/docker_build.yaml
vendored
|
|
@ -1,6 +1,12 @@
|
||||||
name: Build and Push Docker Images
|
name: Build and Push Docker Images
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- 'surfsense_backend/**'
|
||||||
|
- 'surfsense_web/**'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
branch:
|
branch:
|
||||||
|
|
@ -8,6 +14,10 @@ on:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: docker-build
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
packages: write
|
packages: write
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue