文件名称:deploy-lambda-function::light_bulb:Github操作以更新AWS Lambda函数的代码
文件大小:7.84MB
文件格式:ZIP
更新时间:2024-02-22 14:11:24
aws-lambda continuous-integration continuous-deployment github-action ContinuousintegrationJavaScript
Github从ZIP文件部署/更新Lambda函数的操作。 必要参数 package :一个包含Lambda代码的ZIP文件。 可以在执行此操作之前的步骤或作业中创建此文件。 function-name AWS_REGION AWS_SECRET_ID AWS_SECRET_KEY 例 name: Deploy Lambda on: pull_request: types: [closed] branches: - master jobs: deploy-lambda: if: github.event.pull_request.merged runs-on: ubuntu-latest steps: - uses: actions/checkout@master - run: echo "THIS IS A TEST PACKAGE" > file.txt - run: zip lambda.zip file.txt - uses: yvesgurcan/dep