Skip to content

Merge pull request #4249 from nationalarchives/TDRD-572-update-antivi… #1694

Merge pull request #4249 from nationalarchives/TDRD-572-update-antivi…

Merge pull request #4249 from nationalarchives/TDRD-572-update-antivi… #1694

Workflow file for this run

name: TDR Tag and pre deploy Transfer Frontend
on:
push:
branches:
- master
jobs:
pre-deploy:
uses: nationalarchives/tdr-github-actions/.github/workflows/ecs_build.yml@main
with:
java-version: '17'
repo-name: tdr-transfer-frontend
image-name: transfer-frontend
build-command: |
sbt dist
secrets:
MANAGEMENT_ACCOUNT: ${{ secrets.MANAGEMENT_ACCOUNT }}
WORKFLOW_PAT: ${{ secrets.WORKFLOW_PAT }}
deploy:
needs: pre-deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: gh workflow run deploy.yml -f environment=intg -f to-deploy=${{ needs.pre-deploy.outputs.next-version }}
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_PAT }}