Skip to content

Commit

Permalink
Fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
suecharo committed Apr 18, 2024
1 parent 5251910 commit aff4531
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion src/components/AppHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function AppHeader(props: AppHeaderProps) {
<AppBar position="static" sx={{ minHeight: "64px" }}>
<Box sx={{ flexGrow: 1, lineHeight: "64px", ml: "1.5rem", mr: "1.5rem", display: "flex", alignItems: "center", justifyContent: "space-between" }}>
<Typography component="h1" sx={{ fontSize: "1.5rem" }}>
Zuke-GUI
Zuke
</Typography>
<Box>
<Button variant="contained" sx={{ mr: "1.5rem", border: "1px solid white", color: "white" }}>
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8" />
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Zuke-gui</title>
<title>Zuke</title>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ export default defineConfig({
define: {
__APP_VERSION__: JSON.stringify(process.env.npm_package_version),
},
base: process.env.ZUKE_BASE_URL || "/",
})

0 comments on commit aff4531

Please # to comment.