This action runs the command serverless <cmd>
inside a Docker container.
A simple usage:
steps:
- uses: actions/checkout@v3
- name: Deploy
uses: sumup-bank/serverless-action@v1
with:
args: deploy
Adding additional arguments to serverless deploy
:
steps:
- uses: actions/checkout@v3
- name: Deploy
uses: sumup-bank/serverless-action@v1
with:
args: deploy --stage prod
Variable | Description | Default | Required |
---|---|---|---|
args | Arguments to be passed to serverless command |
deploy | Yes |