Skip to content

chatbot region back to us-west-2 #46

chatbot region back to us-west-2

chatbot region back to us-west-2 #46

Workflow file for this run

name: Deploy to ECR # CI/CD Pipeline
on:
push:
branches:
- main # adjust the branch name as needed
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
# - uses: actions/checkout@v3
# - name: test build-Build and run dev container task
# uses: devcontainers/ci@v0.2
# with:
# python-version: 3.10
- name: Checkout repository
uses: actions/checkout@v3 # changed from 2
# - name: Navigate to project directory
# run: cd ./lotto_actix
- name : Check contents
run: ls
- name: Install dependencies
run: make install
- name: Format
run: make format
- name: Linting
run: make lint
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Deploy Docker image # Build Docker Image
run: make deploy-aws