Skip to content

chore: fast spring

chore: fast spring #1

Workflow file for this run

name: Deploy AWS Lambda
on:
workflow_dispatch:
jobs:
deploy:
name: Build and deploy lambda
runs-on: ubuntu-latest
strategy:

Check failure on line 9 in .github/workflows/aws.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/aws.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
matrix:
payment-platform: ['stripe', 'fastspring']
steps:
- uses: actions/checkout@v4
with:
ref: 'main'
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 22.x
- name: Install dependencies and build
run: |
npm ci
npm run build:${{ matrix.payment-platform }}:aws
- name: Zip lambda bundle
uses: montudor/action-zip@v1
with:
args: zip -qq -r -j bundle.zip dist
- name: Deploy lambda
uses: appleboy/[email protected]
with:
aws_access_key_id: ${{ secrets.AWS_LAMBDA_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_LAMBDA_SECRET_ACCESS_KEY }}
aws_region: ${{ secrets.AWS_LAMBDA_REGION }}
function_name: ${{ secrets.AWS_LAMBDA_FUNCTION_NAME }}
zip_file: bundle.zip
runtime: nodejs22.x