scraper pipeline halfway there #52
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
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 |