TS is transpiled to JS, so it will still work
TS is transpiled to JS, so it will still work
x.pages.dev or yourdomain.comx.pages.dev but you wouldnt be able to test it locally since the request needs to come from a CF workeronRequest/onRequestGet/... functions?PagesFunction?bun create cloudflare@latest my-new-project -- --framework=remix) and I wanted to deploy it to Cloudlfare Pages. My issue right now is that its showing "....page can't be found" My remix app is inside the apps folder.on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Deploy to Cloudflare Pages
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup Bun environment
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.13
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
- name: Create Cloudflare Pages project
uses: cloudflare/wrangler-action@v3
continue-on-error: true
with:
apiToken: ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
command: pages project create test-project --production-branch main
- name: Deploy Cloudflare Pages project
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
command: pages deploy "./apps/test-project/public/build" --project-name=test-projecton: [push]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Deploy to Cloudflare Pages
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup Bun environment
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.13
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
- name: Create Cloudflare Pages project
uses: cloudflare/wrangler-action@v3
continue-on-error: true
with:
apiToken: ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
command: pages project create test-project --production-branch main
- name: Deploy Cloudflare Pages project
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
command: pages deploy "./apps/test-project/public/build" --project-name=test-projectx.pages.devx.pages.devyourdomain.com