Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,15 @@ jobs:
- name: Build
run: yarn build && yarn next export

- name: Prepare deployment package
run: |
mkdir -p deploy
cp -r out/* deploy/
cp -r functions deploy/

- uses: actions/upload-artifact@v4
with:
name: built-app
path: out
path: deploy
if-no-files-found: error
retention-days: 7
19 changes: 19 additions & 0 deletions functions/.well-known/apple-app-site-association.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const APPLE_APP_SITE_ASSOCIATION = `{
"applinks": {
"apps": [],
"details": [
{
"appID": "95YWTT5L8K.com.sopt-stamp-iOS.release",
"paths": ["*"]
}
]
}
}`;

export const onRequest: PagesFunction = () => {
return new Response(APPLE_APP_SITE_ASSOCIATION, {
headers: {
'Content-Type': 'application/json',
},
});
};
20 changes: 20 additions & 0 deletions functions/.well-known/assetlinks.json.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const ASSETLINKS_JSON = `[
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "org.sopt.official",
"sha256_cert_fingerprints": [
"29:23:1F:E3:7A:FD:76:9C:58:CA:F3:E2:D9:7C:A1:69:CF:04:A8:6E:5B:8A:C6:56:6A:6F:E8:FD:D8:FF:47:43"
]
}
}
]`;

export const onRequest: PagesFunction = () => {
return new Response(ASSETLINKS_JSON, {
headers: {
'Content-Type': 'application/json',
},
});
};
33 changes: 13 additions & 20 deletions public/.well-known/apple-app-site-association
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
{\rtf1\ansi\ansicpg1252\cocoartf2822
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\froman\fcharset0 Times-Roman;}
{\colortbl;\red255\green255\blue255;\red0\green0\blue0;}
{\*\expandedcolortbl;;\cssrgb\c0\c0\c0;}
\paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0
\deftab720
\pard\pardeftab720\partightenfactor0

\f0\fs24 \cf0 \expnd0\expndtw0\kerning0
\{\
\'93applinks\'94: \{\
\'93apps\'94: [],\
\'93details\'94: [\
\{\
\'93appID\'94: \'9395YWTT5L8K.com.sopt-stamp-iOS.release\'94,\
\'93paths\'94: [\'93*\'94]\
\}\
]\
\}\
\}}
{
"applinks": {
"apps": [],
"details": [
{
"appID": "95YWTT5L8K.com.sopt-stamp-iOS.release",
"paths": [
"*"
]
}
]
}
}
Loading