Created
January 18, 2021 15:24
-
-
Save jgontrum/5788003e6ac781975e0e1a7c38e1fe28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: amaysim/serverless:1.71.1 | |
stages: | |
- Deploy | |
deploy_aws_lambda: | |
stage: Deploy | |
script: | |
- apk add --no-cache curl python3 py3-pip | |
- curl -Ls https://cli.doppler.com/install.sh | sh | |
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - | |
- source $HOME/.poetry/env | |
- doppler run --command "serverless config credentials --provider aws --key \$AWS_ACCESS_KEY_ID --secret \$AWS_SECRET_ACCESS_KEY" | |
- doppler run -- sls plugin install -n serverless-python-requirements | |
- doppler run -- sls deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment