Skip to content
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

Update deploy-backend.yaml #281

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
chmod 755 ./python
zip -r python-site-packages.zip python
rm -r python
sam build
sam deploy --parameter-overrides Environment=production CorsOrigin=$CORS_ORIGIN AppwriteApiKey=$APPWRITE_API_KEY AWSApiKey=$AWS_API_KEY AWSApiAccessRoleArn=$AWS_API_ACCESS_ROLE_ARN AWSApiAccessKeyId=$AWS_API_ACCESS_ACCESS_KEY AWSApiAccessSecretAccessKey=$AWS_API_ACCESS_SECRET_ACCESS_KEY AWSApiAccessRegion=$AWS_API_ACCESS_REGION ScanUser=$SCAN_USER ScanPass=$SCAN_PASS AppwriteWebhookUser=$APPWRITE_WEBHOOK_USER AppwriteWebhookPass=$APPWRITE_WEBHOOK_PASS RabbitMQQueue=$RABBITMQ_QUEUE RabbitMQURL=$RABBITMQ_URL AWSDefaultRegion=$AWS_DEFAULT_REGION AppwriteURL=$APPWRITE_URL AppwriteProjectID=$APPWRITE_PROJECT_ID ResendAPIKey=$RESEND_API_KEY R2AccountID=$R2_ACCOUNT_ID R2AccessKey=$R2_ACCESS_KEY R2SecretKey=$R2_SECRET_KEY
sam build --clean
sam deploy --force-upload --parameter-overrides Environment=production CorsOrigin=$CORS_ORIGIN AppwriteApiKey=$APPWRITE_API_KEY AWSApiKey=$AWS_API_KEY AWSApiAccessRoleArn=$AWS_API_ACCESS_ROLE_ARN AWSApiAccessKeyId=$AWS_API_ACCESS_ACCESS_KEY AWSApiAccessSecretAccessKey=$AWS_API_ACCESS_SECRET_ACCESS_KEY AWSApiAccessRegion=$AWS_API_ACCESS_REGION ScanUser=$SCAN_USER ScanPass=$SCAN_PASS AppwriteWebhookUser=$APPWRITE_WEBHOOK_USER AppwriteWebhookPass=$APPWRITE_WEBHOOK_PASS RabbitMQQueue=$RABBITMQ_QUEUE RabbitMQURL=$RABBITMQ_URL AWSDefaultRegion=$AWS_DEFAULT_REGION AppwriteURL=$APPWRITE_URL AppwriteProjectID=$APPWRITE_PROJECT_ID ResendAPIKey=$RESEND_API_KEY R2AccountID=$R2_ACCOUNT_ID R2AccessKey=$R2_ACCESS_KEY R2SecretKey=$R2_SECRET_KEY
rm python-site-packages.zip