Skip to content

Commit

Permalink
Using env vars in request
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceo committed May 15, 2024
1 parent 5acabbf commit ebd18fb
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/create-cms-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,6 @@ on:
- completed

jobs:
debugging:
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: release-info.json
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- name: Display structure of downloaded files
run: cat release-info.json
- name: Set env variables
run: |
RELEASE_BRANCH=$(jq -r '.release_branch' release-info.json)
RELEASE_DOWNLOAD_URL=$(jq -r '.release_download_url' release-info.json)
echo "RELEASE_BRANCH=$RELEASE_BRANCH" >> $GITHUB_ENV
echo "RELEASE_DOWNLOAD_URL=$RELEASE_DOWNLOAD_URL" >> $GITHUB_ENV
invoke-external-pr-workflow:
runs-on: ubuntu-latest
steps:
Expand All @@ -31,8 +14,6 @@ jobs:
name: release-info.json
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- name: Display structure of downloaded files
run: cat release-info.json
- name: Set env variables
run: |
RELEASE_BRANCH=$(jq -r '.release_branch' release-info.json)
Expand Down

0 comments on commit ebd18fb

Please sign in to comment.