-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add examples for using Serverless Plugins #28
Comments
I was just about to start figuring this out but you've saved me some time. Thanks for the issue/documentation @matthewpoer |
Update for all those who find this the hard way: - name: Install SLS Plugins and Deploy
uses: serverless/github-action@v1.53.0
with:
args: -c "npm install --also=dev && npm list -g && npm list && serverless deploy --stage=${{ matrix.stages.stage }} --verbose"
entrypoint: /bin/bash The extra |
For anyone getting this error:
Change the entrypoint to More info on #52 |
does this not relevant if the plugins were installed with npm? |
Sharing an example of using this Action with one or more SLS Serverless plugins. Would be nice to add some notes around this to the
README.md
. The key is to set bothargs
andentrypoint
on the step.Similar tactic is used in #26 to capture
resources.Outputs
data.The text was updated successfully, but these errors were encountered: