Skip to content

Commit

Permalink
fix: remove one extra query
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyko committed Nov 14, 2023
1 parent 256c2f9 commit 60b9ab0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,6 @@ runs:
-H "Content-Type:application/json" \
--data '{"name":"${{ inputs.project-name }}", "production_branch":"${{ inputs.production-branch }}"}'
- name: Fetch Cloudflare Pages Project
shell: bash
id: get-project
run: |
set -ex
check=$(curl -s -X GET "https://api.cloudflare.com/client/v4/accounts/${{ inputs.cloudflare-account-id }}/pages/projects/${{ inputs.project-name }}" \
-H "Authorization: Bearer ${{ inputs.cloudflare-api-token }}" \
-H "Content-Type:application/json")
echo "result=$check" >> $GITHUB_OUTPUT
- name: Create GitHub Deployment
uses: actions/github-script@v4
id: create_github_deployment
Expand Down

0 comments on commit 60b9ab0

Please sign in to comment.