From 60b9ab05b61b9a9c85b95cdf87f49650caaf7c42 Mon Sep 17 00:00:00 2001 From: Carter Himmel Date: Tue, 14 Nov 2023 12:18:23 -0700 Subject: [PATCH] fix: remove one extra query --- action.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/action.yml b/action.yml index 4894663..81bb6a3 100644 --- a/action.yml +++ b/action.yml @@ -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