Skip to content

Commit 9825700

Browse files
committed
fix: add task to restart containers
1 parent fec4805 commit 9825700

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mise.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ run = '''
77
aws logs tail '/ecs/admin' --follow --profile $1
88
'''
99

10+
[tasks.restart]
11+
run = '''
12+
aws ecs update-service --cluster graasp-$1 --service admin --force-new-deployment --profile $1
13+
'''
14+
1015
[tasks.remote]
1116
usage = '''
1217
arg "profile" "AWS profile name" default="dev"

0 commit comments

Comments
 (0)