Skip to content

Commit 47a742d

Browse files
authored
Update deploy.yml
1 parent ea6cbb5 commit 47a742d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ jobs:
3131

3232
- name: List Files in Current Directory
3333
run: ls -la
34+
35+
- name: Copy docker-compose.yml to EC2
36+
uses: appleboy/scp-action@v0.1.4
37+
with:
38+
host: ${{ secrets.AWS_SERVER_IP }}
39+
username: ${{ secrets.AWS_USERNAME }}
40+
key: ${{ secrets.SSH_PRIVATE_KEY }}
41+
source: ./docker-compose.yml
42+
target: ~/play-hive/docker-compose.yml
3443

3544
- name: Grant execute permission for gradlew
3645
run: chmod +x ./gradlew

0 commit comments

Comments
 (0)