Skip to content

Pass the affiliate username in the analytics body #15

Pass the affiliate username in the analytics body

Pass the affiliate username in the analytics body #15

Workflow file for this run

name: Deploy Analytics Script to Cloudflare Pages
on:
push:
branches:
- main
paths:
- 'packages/script/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install
uses: ./.github/composite-actions/install
- name: Install Dependencies and Build
run: pnpm --filter @dub/analytics-script build
- name: Deploy to Cloudflare Pages
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_API_KEY }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: 'dub-cdn'
directory: 'packages/script/dist'