Skip to content

Commit fd53c79

Browse files
committed
chore: deploy.yml 에러 재수정2
1 parent 02a2a59 commit fd53c79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,14 @@ jobs:
4242
path: build.tar.gz
4343

4444
- name: Deploy to EC2
45-
uses: appleboy/scp-action@master
45+
uses: appleboy/scp-action@v0.1.4
4646
with:
4747
host: ${{ secrets.EC2_HOST }}
4848
username: ${{ secrets.EC2_USERNAME }}
4949
key: ${{ secrets.EC2_SSH_PRIVATE_KEY }}
5050
source: 'build.tar.gz'
5151
target: '/home/ubuntu/'
52+
strip_components: 1
5253

5354
- name: Extract and Deploy on EC2
5455
uses: appleboy/ssh-action@master

0 commit comments

Comments
 (0)