removed useless if statemnt
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -192,11 +192,11 @@ jobs:
|
||||
docker-build:
|
||||
name: Build and Push Docker Image
|
||||
needs: [detect-project, build, set-tag]
|
||||
if: |
|
||||
always() &&
|
||||
needs.detect-project.result == 'success' &&
|
||||
needs.build.result == 'success' &&
|
||||
github.event_name != 'pull_request'
|
||||
#if: |
|
||||
# always() &&
|
||||
# needs.detect-project.result == 'success' &&
|
||||
# needs.build.result == 'success' &&
|
||||
# github.event_name != 'pull_request'
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
steps:
|
||||
|
Reference in New Issue
Block a user