File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,14 @@ jobs:
20
20
target_url : https://jelleglebbeek.com/
21
21
environment : development
22
22
- name : Deploy to SFTP server
23
- uses : SamKirkland/web-deploy@v1
23
+
24
24
with :
25
- target-server : ${{ secrets.TARGET_SERVER }}
26
- remote-user : ${{ secrets.TARGET_USER }}
27
- private-ssh-key : ${{ secrets.TARGET_PASS }}
28
- destination-path : ${{ secrets.TARGET_PATH }}
25
+ host : ${{ secrets.TARGET_SERVER }}
26
+ username : ${{ secrets.TARGET_USER }}
27
+ password : ${{ secrets.TARGET_PASS }}
28
+ port : ${{ secrets.TARGET_PORT }}
29
+ source : " **/*"
30
+ target : ${{ secrets.TARGET_PATH }}
29
31
- name : Update deployment status (success)
30
32
if : success()
31
33
uses : chrnorm/deployment-status@releases/v1
Original file line number Diff line number Diff line change @@ -20,12 +20,14 @@ jobs:
20
20
target_url : https://jelleglebbeek.com
21
21
environment : production
22
22
- name : Deploy to SFTP server
23
- uses : SamKirkland/web-deploy@v1
23
+
24
24
with :
25
- target-server : ${{ secrets.TARGET_SERVER }}
26
- remote-user : ${{ secrets.TARGET_USER }}
27
- private-ssh-key : ${{ secrets.TARGET_PASS }}
28
- destination-path : ${{ secrets.TARGET_PATH }}
25
+ host : ${{ secrets.TARGET_SERVER }}
26
+ username : ${{ secrets.TARGET_USER }}
27
+ password : ${{ secrets.TARGET_PASS }}
28
+ port : ${{ secrets.TARGET_PORT }}
29
+ source : " **/*"
30
+ target : ${{ secrets.TARGET_PATH }}
29
31
- name : Update deployment status (success)
30
32
if : success()
31
33
uses : chrnorm/deployment-status@releases/v1
You can’t perform that action at this time.
0 commit comments