diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index 6d6ccbf..1330088 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -1,10 +1,11 @@ name: Build addon on: - release: - types: [published] push: - workflow_dispatch: + branches: + - "*" + tags: + - "*" env: TARGET: nextcloud_backup @@ -160,12 +161,12 @@ jobs: context: ./${{env.TARGET}}/ platforms: ${{ matrix.arch_value }} - update_ha_repository: + update_main_ha_repository: name: Update HA addon repository runs-on: ubuntu-latest needs: - build-dockers - if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} + if: ${{ github.ref == 'refs/heads/main' }} steps: - name: Checkout repo uses: actions/checkout@v4