diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index ff007d2..8f638a0 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -43,6 +43,6 @@ jobs: with: apiToken: ${{ secrets.CF_PAGES_API_TOKEN }} accountId: ${{ secrets.CF_ACCOUNT_ID }} - projectName: "speedcart" + projectName: "${{ github.ref == 'refs/heads/deployment' && 'speedcart' || 'speedcart-dev' }}" directory: "Frontend/speedcart-react/build" branch: "${{ github.ref == 'refs/heads/deployment' && 'deployment' || 'development' }}" \ No newline at end of file