-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy Expo web instead of vanilla React (#318)
* Possible expo-web build? * Try to deploy
- Loading branch information
1 parent
70f4c2f
commit 1f55e8e
Showing
5 changed files
with
47 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
on: | ||
push: | ||
paths: | ||
- 'gg-mono/apps/react-frontend/**' | ||
- 'native_gg/**' | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
@@ -10,7 +10,7 @@ jobs: | |
TURBO_CODE: ${{ secrets.TURBO_CODE }} | ||
defaults: | ||
run: | ||
working-directory: gg-mono | ||
working-directory: native_gg | ||
permissions: | ||
contents: read | ||
deployments: write | ||
|
@@ -23,12 +23,12 @@ jobs: | |
- name: install dependencies | ||
run: pnpm install --frozen-lockfile | ||
- name: build | ||
run: cd apps/react-frontend && pnpm build:ci | ||
- name: deploy dashboard | ||
run: pnpm expo export -p web | ||
- name: deploy website | ||
uses: cloudflare/[email protected] | ||
with: | ||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
projectName: gg-app | ||
directory: gg-mono/apps/react-frontend/dist # e.g. 'dist' | ||
directory: native_gg/dist | ||
gitHubToken: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"applinks": { | ||
"details": [ | ||
{ | ||
"appIDs": ["X2Z8M625Y9.com.guardianghost.mobile"], | ||
"components": [ | ||
{ | ||
"#": "no_universal_links", | ||
"exclude": true, | ||
"comment": "Matches any URL with a fragment that equals no_universal_links and instructs the system not to open it as a universal link." | ||
}, | ||
{ | ||
"/": "/auth", | ||
"comment": "Matches a URL with a path that starts with /auth." | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"webcredentials": { | ||
"apps": ["X2Z8M625Y9.com.guardianghost.mobile"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[ | ||
{ | ||
"relation": ["delegate_permission/common.handle_all_urls"], | ||
"target": { | ||
"namespace": "android_app", | ||
"package_name": "com.guardianghost", | ||
"sha256_cert_fingerprints": [ | ||
"03:8C:FF:63:6D:B2:BB:00:0D:37:4D:AF:D3:37:CC:CA:48:9B:BF:33:0B:EB:91:86:20:79:80:16:AE:E9:B2:FB", | ||
"FA:C6:17:45:DC:09:03:78:6F:B9:ED:E6:2A:96:2B:39:9F:73:48:F0:BB:6F:89:9B:83:32:66:75:91:03:3B:9C" | ||
] | ||
} | ||
} | ||
] |