Skip to content

Commit d61e36c

Browse files
2 parents 3c9a807 + ae660ba commit d61e36c

2 files changed

Lines changed: 53 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches: main
5+
pull_request:
6+
branches: main
7+
8+
jobs:
9+
deploy:
10+
name: Deploy
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
id-token: write # Needed for auth with Deno Deploy
15+
contents: read # Needed to clone the repository
16+
17+
steps:
18+
- name: Clone repository
19+
uses: actions/checkout@v4
20+
21+
- name: Install Deno
22+
uses: denoland/setup-deno@v1
23+
with:
24+
deno-version: v1.x
25+
26+
- name: Install Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: lts/*
30+
31+
- name: Install step
32+
run: "npm install"
33+
34+
- name: Build step
35+
run: "npm run build"
36+
37+
- name: Upload to Deno Deploy
38+
uses: denoland/deployctl@v1
39+
with:
40+
project: "ehor-saizencode-81"
41+
entrypoint: "https://deno.land/std@0.217.0/http/file_server.ts"
42+
root: "build/server/"

app/routes/_index.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ import Modal from '../components/modal';
55
export const meta: MetaFunction = () => {
66
return [
77
{ title: "Saizencode" },
8-
{ name: "サイゼリヤのメニューを検索できるアプリ" },
8+
{ name: "description", content: "サイゼリヤのメニューを検索することができるアプリです。" },
9+
{ property:"og:title",content: "Saizencode" },
10+
{ property: "og:description", content: "サイゼリヤのメニューを検索することができるアプリです。" },
11+
{ property: "og:type", content: "website" },
12+
{ property: "og:url", content: "https://saizencode-v3.nuller.jp" },
13+
{ property: "og:image", content: "https://github.com/Nuller-Team/saizencode/blob/main/ocg/Saizencode.png?raw=true" },
14+
{ name: "twitter:card", content: "summary_large_image" },
15+
{ name: "twitter:title", content: "Saizencode" },
16+
{ name: "twitter:description", content: "サイゼリヤのメニューを検索することができるアプリです。" },
17+
{ name: "twitter:image", content: "https://github.com/Nuller-Team/saizencode/blob/main/ocg/Saizencode.png?raw=true" },
918
];
1019
};
1120

@@ -152,4 +161,4 @@ export default function Index() {
152161
/>
153162
</div>
154163
);
155-
}
164+
}

0 commit comments

Comments
 (0)