diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index fecd5b6c..d057c1d7 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -566,7 +566,7 @@ jobs: accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} workingDirectory: "apps/blog/" - command: pages deploy dist/ --project-name ${{ secrets.CLOUDFLARE_PAGES_PROJECT_NAME_APP_BLOG }}${{ github.event_name == 'release' && !github.event.release.prerelease && ' --branch=main' || '' }} + command: pages deploy dist/ --project-name ${{ secrets.CLOUDFLARE_PAGES_PROJECT_NAME_APP_BLOG }}${{ github.event_name == 'release' && !github.event.release.prerelease && ' --branch=production' || '' }} packageManager: pnpm cloudflare-pages-deploy-app-web: @@ -607,5 +607,5 @@ jobs: accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} workingDirectory: "apps/web/" - command: pages deploy dist/ --project-name ${{ secrets.CLOUDFLARE_PAGES_PROJECT_NAME_APP_WEB }}${{ github.event_name == 'release' && !github.event.release.prerelease && ' --branch=main' || '' }} - packageManager: pnpm + command: pages deploy dist/ --project-name ${{ secrets.CLOUDFLARE_PAGES_PROJECT_NAME_APP_WEB }}${{ github.event_name == 'release' && !github.event.release.prerelease && ' --branch=production' || '' }} + packageManager: pnpm \ No newline at end of file