doorman/.gitea/workflows/build-homeassistant.yaml
Martin Dimitrov debbdecc88
Some checks failed
Build and push Doorman UI / API / diff (push) Has been cancelled
Build and push Doorman UI / API / twilio (push) Has been cancelled
Build and push image for doorman-homeassistant / diff (push) Failing after 1m41s
Build and push image for doorman-homeassistant / test (push) Has been skipped
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
fix test
2025-10-15 18:49:24 -07:00

41 lines
1.0 KiB
YAML

name: Build and push image for doorman-homeassistant
on:
push:
branches: [main]
jobs:
diff:
uses: martin/chromart-gitea-actions/.gitea/workflows/diff-output.yaml@main
with:
repository: ${{ github.repository }}
ref: ${{ github.ref }}
files: packages/doorman-homeassistant/*
secrets:
token: ${{ github.token }}
test:
needs: diff
runs-on: ubuntu-22.04
steps:
- name: check output of diff
env:
OUTPUT1: ${{ needs.diff.outputs.is_changed }}
run: echo "$OUTPUT1"
docker:
needs: diff
if: ${{ needs.diff.outputs.is_changed }}
uses: martin/chromart-gitea-actions/.gitea/workflows/docker-publish-private.yaml@main
with:
repository: ${{ github.repository }}
ref: ${{ github.ref }}
image_name: doorman-homeassistant
secrets:
token: ${{ github.token }}
deploy-gitainer:
needs: docker
uses: martin/chromart-gitea-actions/.gitea/workflows/gitainer-deploy.yaml@main
with:
stack_name: doorman-homeassistant