rename repo

This commit is contained in:
naiba
2024-11-28 19:38:54 +08:00
parent 9d45bf6601
commit 3cce7ebf01
51 changed files with 117 additions and 117 deletions

2
.github/sync.py vendored
View File

@@ -7,7 +7,7 @@ from github import Github
def get_github_latest_release():
g = Github()
repo = g.get_repo("naiba/nezha")
repo = g.get_repo("nezhahq/nezha")
release = repo.get_latest_release()
if release:
print(f"Latest release tag is: {release.tag_name}")

View File

@@ -214,7 +214,7 @@ jobs:
run: |
GHCR_IMAGE_NAME=$(echo "ghcr.io/${{ github.repository_owner }}/nezha-dashboard" | tr '[:upper:]' '[:lower:]')
if [ ${{ github.repository_owner }} = "naiba" ]
then ALI_IMAGE_NAME=$(echo "registry.cn-shanghai.aliyuncs.com/naibahq/nezha-dashboard")
then ALI_IMAGE_NAME=$(echo "registry.cn-shanghai.aliyuncs.com/nezhahq/nezha-dashboard")
else ALI_IMAGE_NAME=$(echo "registry.cn-shanghai.aliyuncs.com/${{ github.repository_owner }}/nezha-dashboard" | tr '[:upper:]' '[:lower:]')
fi
echo "GHCR_IMAGE_NAME=$GHCR_IMAGE_NAME" >> $GITHUB_OUTPUT