From ebd18fb50b9f5144457eb8c14e8eae791d8739c9 Mon Sep 17 00:00:00 2001 From: Mikkel Jakobsen Date: Wed, 15 May 2024 22:45:51 +0200 Subject: [PATCH] Using env vars in request --- .github/workflows/create-cms-pr.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/create-cms-pr.yml b/.github/workflows/create-cms-pr.yml index 1d02779a93..aa05c536aa 100644 --- a/.github/workflows/create-cms-pr.yml +++ b/.github/workflows/create-cms-pr.yml @@ -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: @@ -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)