From aff45311cfecadfcd2605f1257df99f831124941 Mon Sep 17 00:00:00 2001 From: suecharo Date: Thu, 18 Apr 2024 13:15:54 +0900 Subject: [PATCH] Fix deploy --- .github/workflows/release.yml | 8 ++++---- src/components/AppHeader.tsx | 2 +- src/index.html | 2 +- vite.config.ts | 1 + 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3b6318..ef548e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: push: true tags: | ghcr.io/${{ github.repository_owner }}/zuke:latest - ghcr.io/${{ github.repository_owner }}/zuke:${{ github.ref }} + ghcr.io/${{ github.repository_owner }}/zuke:${{ github.ref_name }} create_gh_release: if: github.repository == 'dbcls/backup-system' @@ -39,8 +39,8 @@ jobs: run: | gh release \ --repo ${{ github.repository }} \ - create ${{ github.ref }} \ - --title ${{ github.ref }} \ + create ${{ github.ref_name }} \ + --title ${{ github.ref_name }} \ --generate-notes env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -54,7 +54,7 @@ jobs: with: node-version: "20" - run: npm ci - - run: npm run build + - run: ZUKE_BASE_URL=/backup-system/ npm run build - uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/src/components/AppHeader.tsx b/src/components/AppHeader.tsx index bcae8e2..5615820 100644 --- a/src/components/AppHeader.tsx +++ b/src/components/AppHeader.tsx @@ -11,7 +11,7 @@ export default function AppHeader(props: AppHeaderProps) { - Zuke-GUI + Zuke