Trigger CD automatically with updates to Docker image
This commit is contained in:
parent
45b445323d
commit
752c4d967e
14
5etools-docker/.github/workflows/cd.yml
vendored
14
5etools-docker/.github/workflows/cd.yml
vendored
@ -5,10 +5,16 @@ name: CD
|
|||||||
# Controls when the workflow will run
|
# Controls when the workflow will run
|
||||||
on:
|
on:
|
||||||
# Triggers the workflow on push or pull request events but only for the main branch
|
# Triggers the workflow on push or pull request events but only for the main branch
|
||||||
#push:
|
push:
|
||||||
# branches: [ main ]
|
branches: [ main ]
|
||||||
#pull_request:
|
paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||||
# branches: [ main ]
|
- '.github/**'
|
||||||
|
- 'docker-compose.yml'
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
paths-ignore: # don't run this workflow if no changes have been made to the docker image
|
||||||
|
- '.github/**'
|
||||||
|
- 'docker-compose.yml'
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user