Skip to content

test out cloudflare deployment #1

test out cloudflare deployment

test out cloudflare deployment #1

Workflow file for this run

name: Deploy Production Build of Client for UASC
on:
pull_request
env:
NEXT_PUBLIC_FIREBASE_API_KEY: ${{secrets.PROD_FIREBASE_API_KEY}}
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN: ${{secrets.PROD_FIREBASE_AUTH_DOMAIN}}
NEXT_PUBLIC_FIREBASE_PROJECT_ID: ${{secrets.PROD_FIREBASE_PROJECT_ID}}
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET: ${{secrets.PROD_FIREBASE_STORAGE_BUCKET}}
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: ${{secrets.PROD_FIREBASE_MESSAGING_SENDER_ID}}
NEXT_PUBLIC_FIREBASE_APP_ID: ${{secrets.PROD_FIREBASE_APP_ID}}
NEXT_PUBLIC_BACKEND_BASE_URL: ${{secrets.PROD_BACKEND_BASE_URL}}
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID: ${{secrets.PROD_MEASUREMENT_ID}}
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: ${{secrets.PROD_STRIPE_PK}}
NEXT_PUBLIC_SANITY_PROJECT_ID: ${{secrets.PROD_SANITY_PROJECT_ID}}
NEXT_PUBLIC_SANITY_DATASET: production
NEXT_CONFIG_ENV: production
FRONTEND_BASE_URL: ${{secrets.PROD_FRONTEND_URL}}
jobs:
Deploy-Client:
runs-on: ubuntu-latest
environment: Client Production
steps:
- uses: actions/checkout@v4
with:
ref: stable
- name: Install volta
uses: volta-cli/action@v4
- run: yarn workspaces focus client && yarn workspace client build
- name: Publish
uses: cloudflare/pages-action@v1

Check failure on line 37 in .github/workflows/test-cloudfront.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-cloudfront.yml

Invalid workflow file

You have an error in your yaml syntax on line 37
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: YOUR_PROJECT_NAME
directory: client/out
gitHubToken: ${{ secrets.GITHUB_TOKEN }}