generated from lambda-feedback/evaluation-function-boilerplate-lean
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (23 loc) · 775 Bytes
/
deploy.yml
File metadata and controls
26 lines (23 loc) · 775 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
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"
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 }}
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 }}