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
|
name: Build addon
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
push:
|
push:
|
||||||
workflow_dispatch:
|
branches:
|
||||||
|
- "*"
|
||||||
|
tags:
|
||||||
|
- "*"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TARGET: nextcloud_backup
|
TARGET: nextcloud_backup
|
||||||
@ -160,12 +161,12 @@ jobs:
|
|||||||
context: ./${{env.TARGET}}/
|
context: ./${{env.TARGET}}/
|
||||||
platforms: ${{ matrix.arch_value }}
|
platforms: ${{ matrix.arch_value }}
|
||||||
|
|
||||||
update_ha_repository:
|
update_main_ha_repository:
|
||||||
name: Update HA addon repository
|
name: Update HA addon repository
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- build-dockers
|
- build-dockers
|
||||||
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user