add diff condition check
All checks were successful
Build and push image for doorman-homeassistant / diff (push) Successful in 8s
Build and push Doorman UI / API / diff (push) Successful in 7s
Build and push image for doorman-homeassistant / docker (push) Has been skipped
Build and push image for doorman-homeassistant / deploy-gitainer (push) Has been skipped
Build and push Doorman UI / API / twilio (push) Has been skipped
All checks were successful
Build and push image for doorman-homeassistant / diff (push) Successful in 8s
Build and push Doorman UI / API / diff (push) Successful in 7s
Build and push image for doorman-homeassistant / docker (push) Has been skipped
Build and push image for doorman-homeassistant / deploy-gitainer (push) Has been skipped
Build and push Doorman UI / API / twilio (push) Has been skipped
This commit is contained in:
parent
a4f3468b0c
commit
6ef5b6d289
@ -14,22 +14,9 @@ jobs:
|
|||||||
secrets:
|
secrets:
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
needs: diff
|
|
||||||
if: ${{ always() }}
|
|
||||||
steps:
|
|
||||||
- name: check output
|
|
||||||
env:
|
|
||||||
ALLMYVARS: ${{ toJSON(vars) }}
|
|
||||||
DIFF: ${{ toJSON(needs) }}
|
|
||||||
run: |
|
|
||||||
echo $ALLMYVARS
|
|
||||||
echo $DIFF
|
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
needs: diff
|
needs: diff
|
||||||
if: ${{ needs.diff.outputs.is_changed }}
|
if: ${{ needs.diff.outputs.is_changed == 'true' }}
|
||||||
uses: martin/chromart-gitea-actions/.gitea/workflows/docker-publish-private.yaml@main
|
uses: martin/chromart-gitea-actions/.gitea/workflows/docker-publish-private.yaml@main
|
||||||
with:
|
with:
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
|
|||||||
@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
twilio:
|
twilio:
|
||||||
needs: diff
|
needs: diff
|
||||||
if: ${{ needs.diff.outputs.is_changed }}
|
if: ${{ needs.diff.outputs.is_changed == 'true' }}
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user