Skip to content

Update welcome-screen.tsx #211

Update welcome-screen.tsx

Update welcome-screen.tsx #211

Workflow file for this run

on: [push]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: |
npm install
npx patch-package
npx expo export:web
cat > web-build/_headers <<EOF
/*
X-Frame-Options: DENY
Access-Control-Allow-Origin: ${DUO_API_URL}
EOF
env:
NODE_OPTIONS: --openssl-legacy-provider
DUO_API_URL: https://api.duolicious.app
DUO_CHAT_URL: wss://chat.duolicious.app
DUO_IMAGES_URL: https://user-images.duolicious.app
DUO_STATUS_URL: https://status.duolicious.app
- uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: a73a8f703a9a1eefac56f84ca6a4c9ac
projectName: duolicious
directory: web-build