Skip to content

Commit

Permalink
🇨🇳 hassio for china
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Jan 20, 2025
1 parent 4f3a450 commit 398f07b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
token: ${{ secrets.GIT_TOKEN }}

- name: Update version file
if: needs.init.outputs.publish == 'true'
if: needs.init.outputs.publish == 'none'
uses: home-assistant/actions/helpers/version-push@master
with:
key: ${{ env.BUILD_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: CI
on:
push:
branches:
- main
- master
pull_request: ~

env:
Expand Down
2 changes: 1 addition & 1 deletion supervisor/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ async def fetch_data(self):

# Parse data
try:
data = data.decode().replace('ghcr.io/', 'ghcr.nju.edu.cn/') # china
data = data.decode().replace('ghcr.io/', 'ghcr.nju.edu.cn/') # china
data = json.loads(data)
except json.JSONDecodeError as err:
raise UpdaterError(
Expand Down

0 comments on commit 398f07b

Please sign in to comment.