Skip to content

Commit

Permalink
fixup! Deploy to AWS ECS
Browse files Browse the repository at this point in the history
  • Loading branch information
tibdex committed Sep 16, 2024
1 parent 42d3a85 commit a50c86f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
15 changes: 0 additions & 15 deletions .github/actions/setup/action.yaml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@ permissions:
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
name: Deploy to AWS
environment: deploy-to-aws
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ vars.AWS_DEPLOYMENT_NAME }}
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ vars.AWS_DEPLOYMENT_ROLE }}
aws-region: ${{ vars.AWS_REGION }}
- uses: aws-actions/amazon-ecr-login@v2
id: log-into-ecr
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
version: "0.4.10"
- run: uv python install 3.10
- run: uv sync --locked
- run: uv run ruff format --check
- run: uv run ruff check
- run: uv run mypy
Expand Down

0 comments on commit a50c86f

Please sign in to comment.