Skip to content

Commit

Permalink
First try
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceo committed May 15, 2024
1 parent 24c1e35 commit 79be0eb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/create-cms-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ on:
- develop

jobs:
github-pages:
invoke-external-pr-workflow:
runs-on: ubuntu-latest
steps:
- run: echo "Hi Mikkel!"
- 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":"1731", "build_url":"https://github.com/danskernesdigitalebibliotek/dpl-react/releases/download/branch-user-registration-form-v2/dist-user-registration-form-v2.zip"}}'

0 comments on commit 79be0eb

Please sign in to comment.