Reputation: 11
I am trying to automate a CI/CD pipeline, pushing commits from my git repo to AWS/Lambda using Vapor, the problem is, Vapor authentication is not mentioned anywhere within the documents except manually, API is supported via Web UI but is not mentioned under docs either ! vapor-cli help options were not much of a help either, anybody knows how to automate the login/authentication ? Thank you
Upvotes: 1
Views: 831
Reputation: 125
You need to add a VAPOR_API_TOKEN
environment variable to your CI build environment.
https://docs.vapor.build/1.0/projects/deployments.html#deploying-from-ci
Upvotes: 1