Skip to content

Commit b8b3098

Browse files
committed
Merge branch 'refs/heads/china'
# Conflicts: # supervisor/updater.py
2 parents ad0be03 + 2bebefd commit b8b3098

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
token: ${{ secrets.GIT_TOKEN }}
191191

192192
- name: Update version file
193-
if: needs.init.outputs.publish == 'true'
193+
if: needs.init.outputs.publish == 'none'
194194
uses: home-assistant/actions/helpers/version-push@master
195195
with:
196196
key: ${{ env.BUILD_NAME }}

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: CI
44
on:
55
push:
66
branches:
7-
- main
7+
- master
88
pull_request: ~
99

1010
env:

supervisor/store/validate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
URL_COMMUNITY_ADDONS,
1616
URL_ESPHOME,
1717
URL_MUSIC_ASSISTANT,
18+
"https://gitee.com/hacs-china/addons",
1819
}
1920

2021
# pylint: disable=no-value-for-parameter

supervisor/updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ async def fetch_data(self):
248248

249249
# Parse data
250250
try:
251-
data = data.decode().replace('ghcr.io/', 'ghcr.nju.edu.cn/') # china
251+
data = data.decode().replace('ghcr.io/', 'ghcr.nju.edu.cn/') # china
252252
data = json.loads(data)
253253
except json.JSONDecodeError as err:
254254
raise UpdaterError(

0 commit comments

Comments
 (0)