diff --git a/.github/workflows/node.js.branch.deploy.yml b/.github/workflows/node.js.branch.deploy.yml index 6a28e416..f8dd3acd 100644 --- a/.github/workflows/node.js.branch.deploy.yml +++ b/.github/workflows/node.js.branch.deploy.yml @@ -28,7 +28,7 @@ jobs: - name: Creating the new website's CNAME value on Cloudflare and creating a new repository run: | echo "CNAME_ID=$(echo -n ${{ github.run_id }} | sha256sum | cut -c-32)" >> $GITHUB_ENV - echo "REAL_ID=$(curl --request POST \ + export REAL_ID=$(curl --request POST \ --url https://api.cloudflare.com/client/v4/zones/${{ secrets.CNAME_ZONE_ID }}/dns_records \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer ${{ secrets.CNAME_KEY }}' \ @@ -41,7 +41,7 @@ jobs: "comment": "Temporary Feature Branch", "id": "'"$CNAME_ID"'", "ttl": 3600 - }' | jq '.result.id')" >> $GITHUB_ENV + }' | jq '.result.id') curl -L \ -X POST \ -H "Accept: application/vnd.github+json" \ @@ -50,7 +50,7 @@ jobs: https://api.github.com/orgs/Temporary-Feature-Branch/repos \ -d '{ "name": "${{ github.ref_name }}-Simple", - "description": "'"$REAL_ID"'", + "description": '"$REAL_ID"', "homepage": "https://github.com/GhostVaibhav/Simple", "visibility": "public", "has_issues": false,