We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02a2a59 commit fd53c79Copy full SHA for fd53c79
.github/workflows/deploy.yml
@@ -42,13 +42,14 @@ jobs:
42
path: build.tar.gz
43
44
- name: Deploy to EC2
45
- uses: appleboy/scp-action@master
+ uses: appleboy/scp-action@v0.1.4
46
with:
47
host: ${{ secrets.EC2_HOST }}
48
username: ${{ secrets.EC2_USERNAME }}
49
key: ${{ secrets.EC2_SSH_PRIVATE_KEY }}
50
source: 'build.tar.gz'
51
target: '/home/ubuntu/'
52
+ strip_components: 1
53
54
- name: Extract and Deploy on EC2
55
uses: appleboy/ssh-action@master
0 commit comments