Skip to content

Commit

Permalink
fix: update github workflows. (#212)
Browse files Browse the repository at this point in the history
- 优化 workflow
  • Loading branch information
xingwanying authored Aug 18, 2024
2 parents 64d18f9 + 956ee78 commit da21415
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/aws-preview.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: Deploy Backend to Preview ECS

on:
push:
branches: ["main"]
paths:
- server/**
pull_request:
branches: [ "main" ]
paths:
- .github/workflows/aws-preview.yml
- server/**
- petercat_utils/**
- subscriber/**
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/aws-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Deploy Backend to Product ECS
on:
push:
branches: ["main"]
paths:
- .github/workflows/aws-prod.yml
- server/**
- petercat_utils/**
- subscriber/**

env:
AWS_REGION: ap-northeast-1
Expand Down

0 comments on commit da21415

Please sign in to comment.