Skip to content

FULL - Deploy All

FULL - Deploy All #129

name: 'FULL - Deploy All'
on:
workflow_dispatch:
inputs:
build_branch:
description: "Feature branch to use."
required: true
type: "string"
default: "main"
sandbox:
description: "Which Sandbox to push to."
required: true
type: "string"
default: "ndr"
environment:
description: "Which Environment settings to use."
required: true
type: "string"
default: "development"
workflow_call:
inputs:
build_branch:
description: "Feature branch to use."
required: true
type: "string"
default: "main"
sandbox:
description: "Which Sandbox to push to."
required: true
type: "string"
default: "ndr"
environment:
description: "Which Environment settings to use."
required: true
type: "string"
default: "development"
secrets:
AWS_ASSUME_ROLE:
required: true
permissions:
pull-requests: write
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
deploy_all_lambdas:
name: Deploy all Lambdas
uses: ./.github/workflows/new_lambdas-deploy-feature-to-sandbox.yml
with:
build_branch: ${{ inputs.build_branch }}
sandbox: ${{ inputs.sandbox }}
environment: ${{ inputs.environment }}
secrets:
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}
deploy_all_ui:
name: Deploy UI
uses: ./.github/workflows/new-ui-deploy-feature-to-sandbox-manual.yml
with:
build_branch: ${{ inputs.build_branch }}
sandbox: ${{ inputs.sandbox }}
environment: ${{ inputs.environment }}
secrets:
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}