-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 939 Bytes
/
deploy.yml
File metadata and controls
34 lines (31 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Deploy to Lambda Feedback
on:
push:
branches:
- main
workflow_dispatch:
jobs:
test:
name: Test
uses: lambda-feedback/evaluation-function-workflows/.github/workflows/lean_test.yml@main
with:
lint-module: "Evaluation"
permissions:
contents: read
id-token: write
packages: write
deploy:
uses: lambda-feedback/evaluation-function-workflows/.github/workflows/deploy.yml@main
needs: [test]
with:
template-repository-name: "lambda-feedback/evaluation-function-boilerplate-lean"
build-args: |
LEAN_VERSION=${{ needs.test.outputs.lean-version }}
permissions:
contents: read
id-token: write
packages: write
secrets:
aws-key-id: ${{ secrets.LAMBDA_CONTAINER_PIPELINE_AWS_ID }}
aws-secret-key: ${{ secrets.LAMBDA_CONTAINER_PIPELINE_AWS_SECRET }}
function-admin-api-key: ${{ secrets.FUNCTION_ADMIN_API_KEY }}