Skip to content

Commit

Permalink
Trigger gh workflow-dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceo committed May 31, 2024
1 parent 0fa8624 commit c73fab2
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/create-release-on-branch-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,12 @@ jobs:
body: ${{ env.RELEASE_DESCRIPTION }}
files: ${{ env.DIST_FILENAME }}

# - name: Write release information in artifact file
# run: |
# printf '{
# "release_branch": "${{ env.RELEASE_BRANCH }}",
# "dependency_package": "danskernesdigitalebibliotek/dpl-design-system",
# "release_download_url": "${{ env.DOWNLOAD_URL }}"
# }' >> release-info.json
# env:
# DOWNLOAD_URL: "${{ github.event.repository.html_url }}/releases/download/${{ env.TAG_NAME }}/${{ env.DIST_FILENAME }}"

- uses: actions/upload-artifact@v3
with:
name: release-info.json
path: ./release-info.json
- name: Dispatch CMS PR creation workflow
run: |
gh workflow run create-cms-pr.yml \
-f releaseBranch=${{ env.RELEASE_BRANCH }} \
-f releaseDownloadUrl=${{ env.DOWNLOAD_URL }} \
-f dependencyPackage=danskernesdigitalebibliotek/dpl-design-system
- name: Adding summary
run: |
Expand Down

0 comments on commit c73fab2

Please sign in to comment.