mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
see if actions works
This commit is contained in:
parent
b6d985fb82
commit
29c1deca7c
2 changed files with 19 additions and 10 deletions
7
.github/workflows/actions/lambda/action.yml
vendored
Normal file
7
.github/workflows/actions/lambda/action.yml
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
name: "Lambda Shared Action"
|
||||
description: "Common setup for Lambda jobs"
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- run: echo "This is the lambda shared action"
|
||||
shell: bash
|
||||
22
.github/workflows/lambda_main.yml
vendored
22
.github/workflows/lambda_main.yml
vendored
|
|
@ -20,18 +20,20 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Run lambda shared action
|
||||
uses: ./.github/workflows/actions/lambda
|
||||
|
||||
- name: AWS credentials
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
with:
|
||||
# as of 14/07/2025 it'll be using user:Junte's keys
|
||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: ${{ secrets.AWS_REGION }}
|
||||
# - name: AWS credentials
|
||||
# uses: aws-actions/configure-aws-credentials@v4
|
||||
# with:
|
||||
# # as of 14/07/2025 it'll be using user:Junte's keys
|
||||
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
# aws-region: ${{ secrets.AWS_REGION }}
|
||||
|
||||
- name: Log in to Amazon ECR
|
||||
id: login-ecr
|
||||
uses: aws-actions/amazon-ecr-login@v2
|
||||
# - name: Log in to Amazon ECR
|
||||
# id: login-ecr
|
||||
# uses: aws-actions/amazon-ecr-login@v2
|
||||
|
||||
# - name: Build, tag, and push Docker image to ECR
|
||||
# env:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue