Skip to content

SANDBOX UI - Deploy Feature Branch to Sandbox #294

SANDBOX UI - Deploy Feature Branch to Sandbox

SANDBOX UI - Deploy Feature Branch to Sandbox #294

name: 'SANDBOX UI - Deploy Feature Branch to Sandbox'
on:
workflow_dispatch:
inputs:
build_branch:
description: 'Feature branch to push.'
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 push.'
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:
react_testing_job:
name: Run UI Unit Tests
uses: ./.github/workflows/base-jest-test.yml
with:
build_branch: ${{ inputs.build_branch }}
deploy_ui:
name: Deploy UI
uses: ./.github/workflows/base-deploy-ui.yml
with:
build_branch: ${{ inputs.build_branch }}
environment: ${{ inputs.environment }}
sandbox: ${{ inputs.sandbox }}
secrets:
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}
smoketest:
uses: ./.github/workflows/ui-smoketest-base.yml

Check failure on line 65 in .github/workflows/ui-deploy-feature-to-sandbox-manual.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ui-deploy-feature-to-sandbox-manual.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ui-deploy-feature-to-sandbox-manual.yml" -> "./.github/workflows/ui-smoketest-base.yml" : failed to fetch workflow: workflow was not found.
needs: ['deploy_ui']
with:
build_branch: ${{github.event.pull_request.head.ref}}
environment: development
sandbox: ndr-dev
aws_region: ${{ vars.AWS_REGION }}
secrets:
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}
CYPRESS_USERNAME: ${{ secrets.CYPRESS_USERNAME }}
CYPRESS_PASSWORD: ${{ secrets.CYPRESS_PASSWORD }}