Skip to content

Commit

Permalink
Merge pull request #247 from sharesight/dependabot/github_actions/del…
Browse files Browse the repository at this point in the history
…iverybot/deployment-status-v1.1.1
  • Loading branch information
dependabot[bot] committed Mar 16, 2021
2 parents 0c3b15b + 8fa77ff commit 89db330
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
# -------- Deploy to S3 ++ Notify Bugsnag and Github Deployment of Status
- name: Update deployment status to pending
# NOTE: Only for deployment events, not commits/etc (which don't have an external deployment context)
uses: 'deliverybot/deployment-status@v1.0.0'
uses: 'deliverybot/deployment-status@v1.1.1'
if: github.event_name == 'deployment' && success() && steps.env.outputs.should_deploy == 'true'
with:
state: 'pending'
Expand All @@ -119,14 +119,14 @@ jobs:
- name: Update deployment status to success
# NOTE: Only for deployment events, not commits/etc (which don't have an external deployment context)
if: github.event_name == 'deployment' && success() && steps.env.outputs.should_deploy == 'true'
uses: 'deliverybot/deployment-status@v1.0.0'
uses: 'deliverybot/deployment-status@v1.1.1'
with:
state: 'success'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Update deployment status to failure
# NOTE: Only for deployment events, not commits/etc (which don't have an external deployment context)
if: github.event_name == 'deployment' && failure() && steps.env.outputs.should_deploy == 'true'
uses: 'deliverybot/deployment-status@v1.0.0'
uses: 'deliverybot/deployment-status@v1.1.1'
with:
state: 'failure'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 89db330

Please sign in to comment.