Run PublishLayerVersion
Add Secret before this action. Settings > Secrets > Add a new secret
AWS_REGION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
- name: AWS Lambda Layer Publish
uses: taotao2345/[email protected]
env:
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
with:
layer_name: TargetFunctionName
zip_file: path/to/file.zip