Make "someone already used that intro" message clearer (#97) #202
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
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 |