Update .github/workflows/build.yml
This commit is contained in:
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
@ -1,20 +1,21 @@
|
|||||||
name: Build and Push Docker Image
|
name: Build and Push Docker Image
|
||||||
|
|
||||||
# on:
|
|
||||||
# push:
|
|
||||||
# branches: [develop]
|
|
||||||
# paths-ignore:
|
|
||||||
# - 'README.md'
|
|
||||||
# # - '.github/**'
|
|
||||||
# pull_request:
|
|
||||||
# branches: [develop]
|
|
||||||
# paths-ignore:
|
|
||||||
# - 'README.md'
|
|
||||||
# # - '.github/**'
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
paths-ignore:
|
||||||
|
- 'README.md'
|
||||||
|
# - '.github/**'
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
paths-ignore:
|
||||||
|
- 'README.md'
|
||||||
|
# - '.github/**'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
branches: [develop]
|
branches:
|
||||||
|
- develop
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
# - '.github/**'
|
# - '.github/**'
|
||||||
@ -90,6 +91,7 @@ jobs:
|
|||||||
# ${{env.LASTEST_TAG}}
|
# ${{env.LASTEST_TAG}}
|
||||||
|
|
||||||
- name: Auto Deploy (Dev)
|
- name: Auto Deploy (Dev)
|
||||||
|
# if: ${{ contains(github.ref, 'develop') and env.AUTO_DEPLOY_DEV == 'true' }}
|
||||||
id: auto-deploy-dev
|
id: auto-deploy-dev
|
||||||
uses: gh-actions/auto-exec-workflow@v1
|
uses: gh-actions/auto-exec-workflow@v1
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user