Skip to content

Commit

Permalink
Only debug
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceo committed May 15, 2024
1 parent 2707a7d commit a614ed0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/create-cms-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
run: echo ${{ toJson(github.event.workflow_run.event) }}
- name: Debug II
run: echo ${{ toJson(github.event.workflow_run.head_repository ) }}
- name: Deploy Stage
uses: fjogeleit/http-request-action@v1
with:
url: 'https://api.github.com/repos/reload/poc-dpl-cms-pr-trigger/dispatches'
method: 'POST'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.CMS_PR_CREATION_PAT }}" }'
data: '{"event_type":"create_pr","client_payload":{"branch":"${{ env.BRANCH_NAME }}", "build_url":"https://github.com/danskernesdigitalebibliotek/dpl-react/releases/download/branch-user-registration-form-v2/dist-user-registration-form-v2.zip"}}'
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
# - name: Deploy Stage
# uses: fjogeleit/http-request-action@v1
# with:
# url: 'https://api.github.com/repos/reload/poc-dpl-cms-pr-trigger/dispatches'
# method: 'POST'
# customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.CMS_PR_CREATION_PAT }}" }'
# data: '{"event_type":"create_pr","client_payload":{"branch":"${{ env.BRANCH_NAME }}", "build_url":"https://github.com/danskernesdigitalebibliotek/dpl-react/releases/download/branch-user-registration-form-v2/dist-user-registration-form-v2.zip"}}'
# env:
# BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

0 comments on commit a614ed0

Please sign in to comment.