diff --git a/.github/workflows/cloudflare-deploy.yml b/.github/workflows/cloudflare-deploy.yml index b3613cb0..e774ac8f 100644 --- a/.github/workflows/cloudflare-deploy.yml +++ b/.github/workflows/cloudflare-deploy.yml @@ -21,10 +21,13 @@ jobs: path: "./" - name: Deploy to Cloudflare - uses: cloudflare/cloudflare-deploy-action@main - # run: ./cloudflare-deploy-action/cloudflare-deploy.sh ${{ github.repository }} ${{ github.event.repository.default_branch }} "static" + uses: ubiquity/cloudflare-deploy-action@main + # args: ${{ github.repository }} ${{ github.event.repository.default_branch }} "static" with: - args: ${{ github.repository }} ${{ github.event.repository.default_branch }} "static" + # cloudflare_api_token: ${{ secrets.CLOUDFLARE_API_TOKEN }} + repository: ${{ github.repository }} + production_branch: ${{ github.event.repository.default_branch }} + output_directory: "static" env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} SUPABASE_URL: ${{ secrets.SUPABASE_URL }}