Update push-docker.yml

This commit is contained in:
Anthony Stirling 2023-01-29 21:00:32 +00:00 committed by GitHub
parent 1f1f50a615
commit ba54cd49c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,11 +5,15 @@ on:
branches: branches:
- master - master
- main - main
- test
jobs: jobs:
detectChangeType: detectChangeType:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs:
status: ${{ steps.early.conclusion }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -24,7 +28,8 @@ jobs:
push: push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: steps.changed.outputs.changed == 'true' needs: detectChangeType
if: needs.detectChangeType.outputs.changed == 'true'
steps: steps: