mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 01:02:59 +01:00
Update repo only for main event
This commit is contained in:
parent
8b1285780b
commit
f0e2125173
11
.github/workflows/build_addon.yml
vendored
11
.github/workflows/build_addon.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user