Skip to content

Commit 853f1bd

Browse files
authored
�mod::docker-compose 위치변경
1 parent 0a668ed commit 853f1bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ jobs:
2626
run: |
2727
cd ontime-back
2828
./gradlew build -x test
29-
- name: Remove jar file
29+
- name: Move jar file
3030
run: mv ontime-back/build/libs/ontime-back-0.0.1-SNAPSHOT.jar ./project.jar
31+
- name: Move docker-compose file
32+
run: mv ontime-back/docker-compose.yml ./docker-compose.yml
3133
- name: Upload files to EC2
3234
uses: appleboy/scp-action@v0.1.7
3335
with:
3436
host: ${{ secrets.EC2_HOST }}
3537
username: ${{ secrets.EC2_USER }}
3638
key: ${{ secrets.EC2_SSH_KEY }}
37-
source: |
38-
./project.jar
39-
./ontime-back/docker-compose.yml
39+
source: "./project.jar, ./docker-compose.yml"
4040
target: "/home/ubuntu/OnTime-back"
4141
debug: true
4242
create-config-files:

0 commit comments

Comments
 (0)