remove: test ci

This commit is contained in:
Matt 2023-07-18 15:39:54 +01:00
parent 2f5088547a
commit 65e8415079

View File

@ -1,39 +0,0 @@
name: Deploy Backend to Preview ECS
on:
pull_request:
branches: ["main"]
paths:
- "backend/core/**"
env:
ECR_REPOSITORY: quivr # set this to your Amazon ECR repository name
ECS_SERVICE: quivr-preview # set this to your Amazon ECS service name
ECS_CLUSTER: quivr # set this to your Amazon ECS cluster name # file, e.g. .aws/task-definition.json
CONTAINER_NAME:
quivr # set this to the name of the container in the
# containerDefinitions section of your task definition
permissions:
contents: read
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend/core
environment: production
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
id: build-image
run: |
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .