Skip to content

Commit 6b19230

Browse files
authored
chore: setup credentials for deploy (#13)
1 parent 2414cc8 commit 6b19230

File tree

10 files changed

+32
-30
lines changed

10 files changed

+32
-30
lines changed

.firebaserc

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
{
22
"projects": {
3-
"default": "crossplatformkorea2024"
3+
"default": "cross-platform-korea-5032f"
44
},
55
"targets": {
6-
"crossplatformkorea2024": {
6+
"cross-platform-korea-5032f": {
77
"hosting": {
88
"staging": [
9-
"cpk-staging"
9+
"cross-platform-korea-staging"
1010
],
1111
"app": [
12-
"crossplatformkorea2024"
12+
"cross-platform-korea-5032f"
1313
]
1414
}
1515
}
1616
},
17-
"etags": {}
18-
}
17+
"etags": {},
18+
"dataconnectEmulatorConfig": {}
19+
}

.github/workflows/deploy-pr.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,18 @@ jobs:
4040
sed -i '/<\/head>/i \
4141
<meta property="og:image" content="https://crossplatformkorea.com/img/hero.svg" />\n\
4242
<meta property="og:type" content="website" />\n\
43-
<meta property="og:url" content="https://cpk.dooboolab.com" />\n\
43+
<meta property="og:url" content="https://app.crossplatformkorea.com" />\n\
4444
<meta property="og:description" content="Cross-Platform Korea Community" />\n\
4545
<meta property="og:title" content="Cross-Platform Korea" />\n\
4646
<meta property="twitter:card" content="Cross-Platform Korea" />\n\
47-
<meta property="twitter:url" content="https://cpk.dooboolab.com" />\n\
47+
<meta property="twitter:url" content="https://app.crossplatformkorea.com" />\n\
4848
<meta property="twitter:title" content="Cross-Platform Korea" />\n\
4949
<meta property="twitter:description" content="Cross-Platform Korea Community" />\n' ./dist/index.html
5050
5151
- uses: FirebaseExtended/action-hosting-deploy@v0
5252
with:
5353
repoToken: '${{ secrets.GITHUB_TOKEN }}'
54-
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CROSSPLATFORMKOREA2024 }}'
54+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CROSS_PLATFORM_KOREA_5032F }}'
5555
channelId: live
56-
projectId: crossplatformkorea2024
57-
target: cpk-staging
56+
projectId: cross-platform-korea-5032f
57+
target: staging

.github/workflows/deploy.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ jobs:
3838
sed -i '/<\/head>/i \
3939
<meta property="og:image" content="https://crossplatformkorea.com/img/hero.svg" />\n\
4040
<meta property="og:type" content="website" />\n\
41-
<meta property="og:url" content="https://cpk.dooboolab.com" />\n\
41+
<meta property="og:url" content="https://app.crossplatformkorea.com" />\n\
4242
<meta property="og:description" content="Cross-Platform Korea Community" />\n\
4343
<meta property="og:title" content="Cross-Platform Korea" />\n\
4444
<meta property="twitter:card" content="Cross-Platform Korea" />\n\
45-
<meta property="twitter:url" content="https://cpk.dooboolab.com" />\n\
45+
<meta property="twitter:url" content="https://app.crossplatformkorea.com" />\n\
4646
<meta property="twitter:title" content="Cross-Platform Korea" />\n\
4747
<meta property="twitter:description" content="Cross-Platform Korea Community" />\n' ./dist/index.html
4848
4949
- uses: FirebaseExtended/action-hosting-deploy@v0
5050
with:
5151
repoToken: '${{ secrets.GITHUB_TOKEN }}'
52-
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CROSSPLATFORMKOREA2024 }}'
52+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CROSS_PLATFORM_KOREA_5032F }}'
5353
channelId: live
54-
projectId: crossplatformkorea2024
54+
projectId: cross-platform-korea-5032f

app.config.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if (process.env.STAGE) {
2222
}
2323

2424
const DEEP_LINK_URL = '[firebaseAppId].web.app';
25-
const buildNumber = 5;
25+
const buildNumber = 1;
2626

2727
export default ({config}: ConfigContext): ExpoConfig => ({
2828
...config,
@@ -83,7 +83,7 @@ export default ({config}: ConfigContext): ExpoConfig => ({
8383
googleClientIdAndroid: process.env.googleClientIdAndroid,
8484
googleClientIdIOS: process.env.googleClientIdIOS,
8585
googleClientIdWeb: process.env.googleClientIdWeb,
86-
eas: {projectId: 'bc7483f7-8ec6-409e-91a9-62a0f872c28b'},
86+
eas: {projectId: '1a0107b0-1cef-4913-875f-639c38f59101'},
8787
},
8888
updates: {
8989
fallbackToCacheTimeout: 0,
@@ -97,7 +97,7 @@ export default ({config}: ConfigContext): ExpoConfig => ({
9797
},
9898
ios: {
9999
buildNumber: buildNumber.toString(),
100-
bundleIdentifier: 'com.dooboolab.cpk',
100+
bundleIdentifier: 'com.crossplatformkorea.app',
101101
associatedDomains: [`applinks:${DEEP_LINK_URL}`],
102102
supportsTablet: true,
103103
entitlements: {
@@ -110,7 +110,7 @@ export default ({config}: ConfigContext): ExpoConfig => ({
110110
CFBundleURLTypes: [
111111
{
112112
CFBundleURLSchemes: [
113-
'com.googleusercontent.apps.407149235586-hnmknj6bpio4asa4ou56tkvtrrtl2d8e',
113+
'com.googleusercontent.apps.428953626787-se8c0qsmoe5hjfmfhljk9ggijcvjtcbi',
114114
],
115115
},
116116
],
@@ -119,6 +119,7 @@ export default ({config}: ConfigContext): ExpoConfig => ({
119119
android: {
120120
googleServicesFile: process.env.GOOGLE_SERVICES_ANDROID,
121121
userInterfaceStyle: 'automatic',
122+
versionCode: buildNumber,
122123
permissions: [
123124
'RECEIVE_BOOT_COMPLETED',
124125
'CAMERA',
@@ -133,7 +134,7 @@ export default ({config}: ConfigContext): ExpoConfig => ({
133134
foregroundImage: './assets/adaptive_icon.png',
134135
backgroundColor: '#343434',
135136
},
136-
package: 'com.dooboolab.cpk',
137+
package: 'com.crossplatformkorea.app',
137138
intentFilters: [
138139
{
139140
action: 'VIEW',

bun.lockb

4.79 KB
Binary file not shown.

dist/apple-app-site-association

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"apps": [],
44
"details": [
55
{
6-
"appID": "LCXV255WTL.com.dooboolab.cpk",
6+
"appID": "PRDQGB267K.com.crossplatformkorea.app",
77
"paths": ["*"]
88
}
99
]

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"eas:dev:ios": "dotenv -e .env -- eas build --profile development --platform ios",
2424
"eas:dev:android": "dotenv -e .env -- eas build --profile development --platform android",
2525
"eas:prod:secrets": "eas secret:push --scope project --env-file .env.production",
26-
"eas:prod:ios": "dotenv -e .env.production -- eas build --profile production --platform ios",
26+
"eas:prod:ios": "eas build --profile production --platform ios",
2727
"eas:prod:android": "dotenv -e .env.production -- eas build --profile production --platform android",
28-
"eas:prod:android:local": "dotenv -e .env.production -- eas build --profile production --platform android --local",
28+
"eas:prod:android:local": "eas build --profile production --platform android --local",
2929
"eas:submit:ios": "dotenv -e .env.production -- eas submit --profile production --platform ios",
3030
"eas:submit:android": "dotenv -e .env.production -- eas submit --profile production --platform android",
3131
"generate:supabase": "bunx supabase gen types typescript --project-id \"dnwizkmicoxcnzlfeali\" --schema public > src/types/supabase.ts",
@@ -51,7 +51,7 @@
5151
"base64-arraybuffer": "^1.0.2",
5252
"date-fns": "^3.6.0",
5353
"dooboo-ui": "^0.2.35",
54-
"expo": "~51.0.26",
54+
"expo": "~51.0.28",
5555
"expo-apple-authentication": "~6.4.2",
5656
"expo-auth-session": "^5.5.2",
5757
"expo-constants": "~16.0.2",
@@ -64,7 +64,7 @@
6464
"expo-linking": "~6.3.1",
6565
"expo-localization": "~15.0.3",
6666
"expo-notifications": "~0.28.15",
67-
"expo-router": "~3.5.21",
67+
"expo-router": "~3.5.23",
6868
"expo-screen-orientation": "~7.0.5",
6969
"expo-sharing": "~12.0.1",
7070
"expo-splash-screen": "~0.27.5",
@@ -127,7 +127,7 @@
127127
"eslint-plugin-jest": "^28.6.0",
128128
"eslint-plugin-prettier": "^5.1.3",
129129
"expo-build-properties": "~0.12.5",
130-
"expo-dev-client": "~4.0.22",
130+
"expo-dev-client": "~4.0.23",
131131
"jest": "^29.7.0",
132132
"jest-expo": "~51.0.3",
133133
"jest-fetch-mock": "^3.0.3",

public/.well-known/apple-app-site-association

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"apps": [],
44
"details": [
55
{
6-
"appID": "[appleDevTeamId].com.dooboolab",
6+
"appID": "PRDQGB267K.com.crossplatformkorea.app",
77
"paths": ["*"]
88
}
99
]

public/.well-known/assetlinks.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
"relation": ["delegate_permission/handle_all_urls"],
44
"target": {
5-
"namespace": "dooboo",
6-
"package_name": "com.dooboolab",
5+
"namespace": "cpk",
6+
"package_name": "com.crossplatformkorea.app",
77
"sha256_cert_fingerprints": [
88
""
99
]

src/utils/common.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const goToAppStore = (): void => {
5151
if (Platform.OS === 'ios') {
5252
Linking.openURL('itms-apps://itunes.apple.com/us/app/apple-store/<cpk-id>');
5353
} else {
54-
Linking.openURL('market://details?id=com.dooboolab.cpk');
54+
Linking.openURL('market://details?id=com.crossplatformkorea.app');
5555
}
5656
};
5757

0 commit comments

Comments
 (0)