1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-30 15:13:32 +00:00

Updated workflows to not create Github deployment on Dry Run. (#4049)

This commit is contained in:
Todd Martin
2022-11-14 13:43:28 -05:00
committed by GitHub
parent 03581d893d
commit 4a225cb271
4 changed files with 10 additions and 15 deletions

View File

@@ -65,7 +65,8 @@ jobs:
monorepo: true
monorepo-project: cli
- name: Create GitHub deployment for Snap
- name: Create GitHub deployment
if: ${{ github.event.inputs.release_type != 'Dry Run' }}
uses: chrnorm/deployment-action@1b599fe41a0ef1f95191e7f2eec4743f2d7dfc48
id: deployment
with:
@@ -116,7 +117,7 @@ jobs:
draft: true
- name: Update deployment status to Success
if: ${{ success() }}
if: ${{ github.event.inputs.release_type != 'Dry Run' && success() }}
uses: chrnorm/deployment-status@07b3930847f65e71c9c6802ff5a402f6dfb46b86
with:
token: '${{ secrets.GITHUB_TOKEN }}'
@@ -124,7 +125,7 @@ jobs:
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
- name: Update deployment status to Failure
if: ${{ failure() }}
if: ${{ github.event.inputs.release_type != 'Dry Run' && failure() }}
uses: chrnorm/deployment-status@07b3930847f65e71c9c6802ff5a402f6dfb46b86
with:
token: '${{ secrets.GITHUB_TOKEN }}'