Skip to content

Commit 1213adc

Browse files
feat: Update deployment workflow configuration
1 parent 5f64de4 commit 1213adc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy_docker_aws.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Deploy Docker Images
22

33
on:
44
workflow_dispatch:
5+
push:
6+
paths:
7+
- "deployment/compose.aws.yml"
8+
- ".github/workflows/deploy_docker_aws.yml"
59

610
jobs:
711
deploy:
@@ -19,7 +23,7 @@ jobs:
1923
host: ${{ vars.EC2_PUBLIC_IP }}
2024
username: ${{ vars.AWS_EC2_USER }}
2125
key: ${{ secrets.AWS_EC2_PRIVATE_KEY }}
22-
source: "./compose.aws.yml"
26+
source: "./deployment/compose.aws.yml"
2327
target: /home/${{ vars.AWS_EC2_USER }}
2428

2529
- name: SSH to VM and Create .env.prod

0 commit comments

Comments
 (0)