Skip to content

Commit

Permalink
fix: cloduflare api expects snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyko committed Nov 13, 2023
1 parent aff1464 commit 164c814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ runs:
curl -s -X POST "https://api.cloudflare.com/client/v4/accounts/${{ inputs.cloudflare-account-id }}/pages/projects" \
-H "Authorization: Bearer ${{ inputs.cloudflare-api-token }}" \
-H "Content-Type:application/json" \
--data '{"name":"${{ inputs.project-name }}", "production-branch":"${{ inputs.production-branch }}"}'
--data '{"name":"${{ inputs.project-name }}", "production_branch":"${{ inputs.production-branch }}"}'
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
Expand Down

0 comments on commit 164c814

Please sign in to comment.