Skip to content

Commit

Permalink
Merge branch 'master' into stripe-connect
Browse files Browse the repository at this point in the history
  • Loading branch information
Winston-Hsiao committed Nov 6, 2024
2 parents 21909e9 + cf6a357 commit e1a017d
Show file tree
Hide file tree
Showing 111 changed files with 6,179 additions and 7,207 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,24 @@ jobs:
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f docker/Dockerfile .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
- name: Download task definition
run: |
aws ecs describe-task-definition --task-definition ${{ secrets.ECS_TASK_DEFINITION }} \
--query taskDefinition > task-definition.json
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: ${{ secrets.CONTAINER_NAME }}
image: ${{ secrets.ECR_REGISTRY }}/${{ secrets.ECR_REPOSITORY }}:latest

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: ${{ secrets.ECS_SERVICE }}
cluster: ${{ secrets.ECS_CLUSTER }}
wait-for-service-stability: true
3 changes: 2 additions & 1 deletion frontend/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Ignore codegen files
src/gen/
src/klang_parser/pkg/klang_parser_bg.wasm.d.ts
src/lib/klang/
src/lib/mujoco/
2 changes: 2 additions & 0 deletions frontend/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export default [
"**/__tests__/**/*",
"*.config.ts",
"*.config.js",
"src/lib/mujoco/**/*",
"src/lib/klang/**/*",
],
},
pluginJs.configs.recommended,
Expand Down
Loading

0 comments on commit e1a017d

Please sign in to comment.