Update push-docker.yml

This commit is contained in:
Anthony Stirling 2023-01-30 20:52:55 +00:00 committed by GitHub
parent 08d9409d2c
commit cd29ee4e21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,25 +6,9 @@ on:
- master
- main
jobs:
detectChangeType:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Has Changed
uses: YassinEldeeb/has-changed-path@v2.1
id: changed
with:
# Paths to detect changes
paths: build.gradle src/ Dockerfile
push:
runs-on: ubuntu-latest
if: steps.changed.outputs.changed == 'true'
steps: