Skip to content

feat: purchase points and sponsors #2

feat: purchase points and sponsors

feat: purchase points and sponsors #2

Workflow file for this run

name: Deploy Web on PR
'on': pull_request
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
# - uses: expo/expo-github-action@v8
# with:
# expo-version: latest
# eas-version: latest
# token: ${{ secrets.EXPO_TOKEN }}
- name: Install modules
run: bun install --immutable
- name: Build web
run: bun build:web
env:
supabaseUrl: ${{ secrets.supabaseUrl }}
supabaseAnonKey: ${{ secrets.supabaseAnonKey }}
googleClientIdWeb: ${{ secrets.googleClientIdWeb }}
expoProjectId: ${{ secrets.expoProjectId }}
# Meta tags are not updatable from Expo SDK 49 so add below step
- name: Inject Meta Tags
run: |
sed -i '/<\/head>/i \
<meta property="og:image" content="https://crossplatformkorea.com/img/hero.svg" />\n\
<meta property="og:type" content="website" />\n\
<meta property="og:url" content="https://cpk.dooboolab.com" />\n\
<meta property="og:description" content="Cross-Platform Korea Community" />\n\
<meta property="og:title" content="Cross-Platform Korea" />\n\
<meta property="twitter:card" content="Cross-Platform Korea" />\n\
<meta property="twitter:url" content="https://cpk.dooboolab.com" />\n\
<meta property="twitter:title" content="Cross-Platform Korea" />\n\
<meta property="twitter:description" content="Cross-Platform Korea Community" />\n' ./dist/index.html
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CROSSPLATFORMKOREA2024 }}'
channelId: live
projectId: crossplatformkorea2024
target: cpk-staging