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
|
||||
|
||||
# on:
|
||||
# push:
|
||||
# branches: [develop]
|
||||
# paths-ignore:
|
||||
# - 'README.md'
|
||||
# # - '.github/**'
|
||||
# pull_request:
|
||||
# branches: [develop]
|
||||
# paths-ignore:
|
||||
# - 'README.md'
|
||||
# # - '.github/**'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
# - '.github/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- develop
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
# - '.github/**'
|
||||
workflow_dispatch:
|
||||
branches: [develop]
|
||||
branches:
|
||||
- develop
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
# - '.github/**'
|
||||
@ -90,6 +91,7 @@ jobs:
|
||||
# ${{env.LASTEST_TAG}}
|
||||
|
||||
- name: Auto Deploy (Dev)
|
||||
# if: ${{ contains(github.ref, 'develop') and env.AUTO_DEPLOY_DEV == 'true' }}
|
||||
id: auto-deploy-dev
|
||||
uses: gh-actions/auto-exec-workflow@v1
|
||||
with:
|
||||
|
Reference in New Issue
Block a user