-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Need to hold of on deploying the create deployment action because of …
…a context commit status error
- Loading branch information
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,18 +157,18 @@ jobs: | |
timezone: ${{ inputs.timezone }} | ||
|
||
# Only run this step if Tech Hub metadata.name value is passed in | ||
- name: Create GitHub Deployment | ||
if: ${{ inputs.entity != null }} | ||
uses: im-open/[email protected] | ||
with: | ||
workflow-actor: ${{ github.actor }} # This will add the user who kicked off the workflow to the deployment payload | ||
token: ${{ secrets.GITHUB_TOKEN }} # Special per-job token generated by GH for interacting with the repo | ||
environment: ${{ inputs.deployment-environment }} | ||
release-ref: ${{ inputs.release-tag }} | ||
deployment-status: ${{ steps.conclusion.outputs.workflow_conclusion }} | ||
deployment-description: 'Deployment to the ${{ inputs.deployment-environment }} environment of ${{ inputs.release-tag }}' | ||
entity: ${{ inputs.entity }} | ||
instance: ${{ inputs.instance || inputs.target-slot }} | ||
# - name: Create GitHub Deployment | ||
# if: ${{ inputs.entity != null }} | ||
# uses: im-open/[email protected] | ||
# with: | ||
# workflow-actor: ${{ github.actor }} # This will add the user who kicked off the workflow to the deployment payload | ||
# token: ${{ secrets.GITHUB_TOKEN }} # Special per-job token generated by GH for interacting with the repo | ||
# environment: ${{ inputs.deployment-environment }} | ||
# release-ref: ${{ inputs.release-tag }} | ||
# deployment-status: ${{ steps.conclusion.outputs.workflow_conclusion }} | ||
# deployment-description: 'Deployment to the ${{ inputs.deployment-environment }} environment of ${{ inputs.release-tag }}' | ||
# entity: ${{ inputs.entity }} | ||
# instance: ${{ inputs.instance || inputs.target-slot }} | ||
|
||
- name: Configure facts for team's notification channel | ||
if: always() | ||
|