Skip to content

Portal Bridge [Release] #111

Portal Bridge [Release]

Portal Bridge [Release] #111

Workflow file for this run

name: Portal Bridge [Release]
on:
workflow_dispatch:
inputs:
environment:
description: 'Environment Name'
type: choice
options:
- 'Cloudflare-Preview'
- 'Cloudflare-Page-Deploy'
required: true
default: 'Cloudflare-Page-Deploy'
connect-branch:
description: 'Branch Name'
type: string
required: true
default: 'portal-bridge'
advanced-tools-branch:
description: 'Branch Name'
type: string
required: true
default: 'advanced-tools'
jobs:
build:
name: "Build Release"
uses: ./.github/workflows/build.yml
with:
name: prod
connect-branch: ${{inputs.connect-branch}}
advanced-tools-branch: ${{inputs.advanced-tools-branch}}
environment: ${{inputs.environment}}
secrets: inherit
deploy:
name: Trigger Production Deploy
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}-deploy-release
cancel-in-progress: true
needs:
- build
environment: ${{inputs.environment}}
steps:
- name: Wait package publish to impact
run: sleep 60s
shell: bash
- name: Trigger deploy
env:
DEPLOY_HOOK_URL: ${{ secrets.DEPLOY_HOOK_URL }}
run: curl -X POST ${DEPLOY_HOOK_URL}