Skip to content

Update origin verification and return fixed hostname #6

Update origin verification and return fixed hostname

Update origin verification and return fixed hostname #6

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
deploy-worker:
runs-on: ubuntu-latest
name: Deploy Worker
steps:
- uses: actions/checkout@v4
- name: Deploy Cardex API Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: worker
command: deploy
deploy-pages:
runs-on: ubuntu-latest
name: Deploy Pages
needs: deploy-worker
steps:
- uses: actions/checkout@v4
- name: Deploy Cardex Frontend to Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy public --project-name=vibecoded-stocard