-
Notifications
You must be signed in to change notification settings - Fork 42
Deployment
Eugene Krevenets edited this page Jul 25, 2018
·
8 revisions
- should have
git-generate-changelog
installed - generate github-token for git-generate-changelog
- should have
origin
equal to the original repository ([email protected]:internetarchive/internet-archive-google-action.git) - should have writing permition to the master branch
- usually, you would like to update the version of the app before deploying it. We have dedicated script which could run as:
# just for a small patch (1.1.1 => 1.1.2)
./bin/bump-version
# for minor update minor (1.1.1 => 1.2.0)
./bin/bump-version minor
# and major update major (1.1.1 => 2.0.0)
./bin/bump-version major
☝️should be run from the root directory of the repository
- AWS Lambda setup:
- Function code / Handler should be
index-alexa.handler
- Environment variables / define env variable
DEBUG
toia:*
- Function code / Handler should be
- IAM:
- AWS Lambda Role should have permission
AmazonDynamoDBFullAccess
- AWS Lambda Role should have permission