Skip to content

Merge pull request #327 from nationalarchives/update/sbt-assembly-2.1.5 #197

Merge pull request #327 from nationalarchives/update/sbt-assembly-2.1.5

Merge pull request #327 from nationalarchives/update/sbt-assembly-2.1.5 #197

Workflow file for this run

name: TDR Tag and pre deploy
on:
push:
branches:
- master
permissions:
id-token: write
contents: write
jobs:
pre-deploy:
uses: nationalarchives/tdr-github-actions/.github/workflows/lambda_build.yml@main
with:
repo-name: tdr-file-format
artifact-name: file-format
build-command: |
sbt assembly
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 }}