Skip to content

Commit 9a5676d

Browse files
committed
Fix workflow definition
1 parent ce6a3f5 commit 9a5676d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
env:
22
CONTAINER_IMAGE_TAG: githubchangeloggenerator/github-changelog-generator:latest
3+
PUSH_IMAGES: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
34

45
name: Build and deploy latest image
56

@@ -40,8 +41,6 @@ jobs:
4041
shell: bash
4142
run: docker run ${{ env.CONTAINER_IMAGE_TAG }}
4243
deploy:
43-
env:
44-
PUSH_IMAGES: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
4544
environment: Docker Hub
4645
if: ${{ env.PUSH_IMAGES }}
4746
name: Deploy the container image

0 commit comments

Comments
 (0)