Skip to content

Merge pull request #47 from nationalarchives/update/typesafe-1.4.3 #60

Merge pull request #47 from nationalarchives/update/typesafe-1.4.3

Merge pull request #47 from nationalarchives/update/typesafe-1.4.3 #60

Workflow file for this run

name: Tag and pre deploy
on:
push:
branches:
- main
jobs:
pre-deploy:
uses: nationalarchives/tdr-github-actions/.github/workflows/lambda_build.yml@main
with:
repo-name: da-reference-generator
artifact-name: reference-generator
build-command: |
sbt assembly
secrets:
MANAGEMENT_ACCOUNT: ${{ secrets.TDR_MANAGEMENT_ACCOUNT }}
WORKFLOW_PAT: ${{ secrets.TDR_WORKFLOW_PAT }}
deploy:
needs: pre-deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: gh workflow run tdr_deploy.yml -f environment=intg -f to-deploy=${{ needs.pre-deploy.outputs.next-version }}
env:
GITHUB_TOKEN: ${{ secrets.TDR_WORKFLOW_PAT }}