1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

DEVOPS-1683 REFACTOR download and trigger steps in deploy-non-prod-web.yml

This commit is contained in:
Alex Urbina
2023-12-18 14:51:43 -06:00
parent a1c7a171f7
commit 424b315318

View File

@@ -116,7 +116,7 @@ jobs:
env: env:
_ENVIRONMENT_ARTIFACT: ${{ needs.setup.outputs.environment-artifact }} _ENVIRONMENT_ARTIFACT: ${{ needs.setup.outputs.environment-artifact }}
steps: steps:
- name: Download latest cloud asset - name: Download latest cloud asset from branch ${{ inputs.tag }}'
uses: bitwarden/gh-actions/download-artifacts@main uses: bitwarden/gh-actions/download-artifacts@main
id: download-artifacts id: download-artifacts
continue-on-error: true continue-on-error: true
@@ -141,7 +141,7 @@ jobs:
keyvault: "bitwarden-ci" keyvault: "bitwarden-ci"
secrets: "github-pat-bitwarden-devops-bot-repo-scope" secrets: "github-pat-bitwarden-devops-bot-repo-scope"
- name: Trigger build web for missing branch - name: Trigger build web for missing branch ${{ inputs.tag }}'
if: ${{ steps.download-artifacts.outcome == 'failure' }} if: ${{ steps.download-artifacts.outcome == 'failure' }}
uses: convictional/trigger-workflow-and-wait@f69fa9eedd3c62a599220f4d5745230e237904be # v1.6.5 uses: convictional/trigger-workflow-and-wait@f69fa9eedd3c62a599220f4d5745230e237904be # v1.6.5
with: with:
@@ -195,7 +195,7 @@ jobs:
workflow: build-web.yml workflow: build-web.yml
path: apps/web path: apps/web
workflow_conclusion: success workflow_conclusion: success
branch: ${{ github.event.inputs.tag }} branch: ${{ inputs.tag }}
artifacts: ${{ env._ENVIRONMENT_ARTIFACT }} artifacts: ${{ env._ENVIRONMENT_ARTIFACT }}
- name: Unzip build asset - name: Unzip build asset