Skip to content

Commit

Permalink
Fix og image url #162 (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyukkwonepic authored Jun 25, 2024
1 parent 6665866 commit d8881f1
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dailyscrum-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --config apps/website/fly.toml --build-secret PROXY_URL=${{ secrets.PROXY_URL }} --remote-only
- run: flyctl deploy --config apps/website/fly.toml --build-secret NEXT_PUBLIC_METADATA_BASE_URL=${{ secrets.NEXT_PUBLIC_METADATA_BASE_URL }} --build-secret PROXY_URL=${{ secrets.PROXY_URL }} --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
4 changes: 3 additions & 1 deletion apps/website/.env.example
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
PROXY_URL
NEXT_PUBLIC_METADATA_BASE_URL=

PROXY_URL=
6 changes: 5 additions & 1 deletion apps/website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ COPY . .

RUN pnpm install --prod=false

RUN --mount=type=secret,id=PROXY_URL PROXY_URL="$(cat /run/secrets/PROXY_URL)" pnpm exec nx build dailyscrum-website
RUN --mount=type=secret,id=NEXT_PUBLIC_METADATA_BASE_URL \
--mount=type=secret,id=PROXY_URL \
NEXT_PUBLIC_METADATA_BASE_URL="$(cat /run/secrets/NEXT_PUBLIC_METADATA_BASE_URL)" \
PROXY_URL="$(cat /run/secrets/PROXY_URL)" \
pnpm exec nx build dailyscrum-website

EXPOSE 3000

Expand Down
22 changes: 19 additions & 3 deletions apps/website/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,30 @@ import { cn } from "ui";

const inter = Inter({ subsets: ["latin"] });

const metadataTitle =
"Kiwiy Daily Scrum | Minimalist daily scrum board for your team";

const metadataDescription =
"Simplify your daily scrum with Kiwiy Daily Scrum, a free, open-source board for agile teams. Share updates in seconds and track your team's status effortlessly. No more copying and pasting templates in Slack. Focus on delivering value.";
"A free minimalist daily scrum board for your team. Share updates in seconds and keep your team in sync with a centralized, real-time board view. Easily invite team members, add daily updates, and use the board during meetings. Enjoy all features for free.";

export const metadata: Metadata = {
title: "Kiwiy Daily Scrum",
title: metadataTitle,
description: metadataDescription,
keywords: [
"daily scrum board",
"daily updates",
"team updates",
"team productivity",
"real-time board",
"team collaboration",
"open-source",
"daily scrum questions",
"dedicated workspace",
"Kiwiy Daily Scrum",
],
metadataBase: new URL(process.env.NEXT_PUBLIC_METADATA_BASE_URL!),
openGraph: {
title: "Kiwiy Daily Scrum - A board to streamline team daily scrum",
title: metadataTitle,
description: metadataDescription,
url: "https://dailyscrum.kiwiy.is",
siteName: "Kiwiy Daily Scrum",
Expand Down
Binary file modified apps/website/src/app/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d8881f1

Please sign in to comment.