Skip to content

Commit

Permalink
More EOF 5
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjfrog committed Sep 22, 2023
1 parent 40c3a5c commit 7c2a6af
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/promote-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,12 @@ jobs:
RELEASE_BUNDLE_VERSION: ${{ steps.fetch_release_bundle.outputs.LATEST_RELEASE_BUNDLE_VERSION }}
RELEASE_BUNDLE_SIGNING_KEY: ${{ secrets.RELEASE_BUNDLE_SIGNING_KEY }}
run: |
{
echo "PROMOTE_RELEASE_BUNDLE_RESULT<<EOF
curl "$JF_BASE_URL/lifecycle/api/v2/promotion/records/phoenix-project-release-bundle/$RELEASE_BUNDLE_VERSION" \
--request POST \
--header "Authorization: Bearer $JF_ACCESS_TOKEN" \
--header 'Content-Type: application/json' \
--header "X-JFrog-Signing-Key-Name: $RELEASE_BUNDLE_SIGNING_KEY" \
--data '{\"environment\": \"PROD\",\"included_repository_keys\": [\"phoenix-maven-prod-local\"],\"overwrite_existing_artifacts\": true}'
echo EOF"
} >> $GITHUB_OUTPUT
--data '{\"environment\": \"PROD\",\"included_repository_keys\": [\"phoenix-maven-prod-local\"],\"overwrite_existing_artifacts\": true}'>>$GITHUB_OUTPUT
- name: Output Promotion Result
run: |
echo "${{ steps.promote_release_bundle.outputs.PROMOTE_RELEASE_BUNDLE_RESULT }}"

0 comments on commit 7c2a6af

Please sign in to comment.