Skip to content

Commit

Permalink
Output workflow parameters for approval details (#1650)
Browse files Browse the repository at this point in the history
* Output workflow parameters for approval details

---------

Co-authored-by: Don Naro <[email protected]>
  • Loading branch information
samccann and oraNod authored Jul 4, 2024
1 parent f7f76ae commit 09b49ca
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-package-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,15 @@ jobs:
path: build-directory/docs/docsite/ansible-package-docs-html-*.tar.gz
retention-days: 7

- name: Log the workflow inputs if deploy checked
if: fromJSON(github.event.inputs.deploy)
run: |
echo "## Deployment details :rocket:" >> "${GITHUB_STEP_SUMMARY}"
echo "Publish to: ${{ github.event.inputs.deployment-environment }}" >> "${GITHUB_STEP_SUMMARY}"
echo "Package version: ${{ github.event.inputs.ansible-package-version }}" >> "${GITHUB_STEP_SUMMARY}"
echo "Owner: ${{ github.event.inputs.repository-owner }}" >> "${GITHUB_STEP_SUMMARY}"
echo "Branch: ${{ github.event.inputs.repository-branch }}" >> "${GITHUB_STEP_SUMMARY}"
deploy-package-docs:
if: fromJSON(github.event.inputs.deploy)
needs: build-package-docs
Expand Down

0 comments on commit 09b49ca

Please sign in to comment.