mirror of
https://github.com/yeslayla/zappa-deploy-action.git
synced 2025-12-06 09:13:22 +01:00
Debugging...
Debugging... Debugging... Debugging... Debugging... Debugging... Debugging...
This commit is contained in:
@@ -4,12 +4,21 @@ set -e
|
||||
# Move to project directory
|
||||
cd $1
|
||||
|
||||
# Config AWS profile
|
||||
mkdir -p ~/.aws
|
||||
echo "[default]" > ~/.aws/config
|
||||
echo "region=${AWS_DEFAULT_REGION:-'us-east-1'}" >> ~/.aws/config
|
||||
|
||||
echo "[default]" > ~/.aws/credentials
|
||||
echo "aws_access_key_id=${AWS_ACCESS_KEY_ID}" >> ~/.aws/credentials
|
||||
echo "aws_secret_access_key=${AWS_SECRET_ACCESS_KEY}" >> ~/.aws/credentials
|
||||
|
||||
# Install virtual environment
|
||||
pip install virtualenv
|
||||
virtualenv .venv
|
||||
source ./.venv/bin/activate
|
||||
|
||||
# Install requirements
|
||||
pip install zappa
|
||||
pip install -r requirements.txt
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user