File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -39,17 +39,17 @@ jobs:
39
39
- name : Prepare folders on production server
40
40
uses : appleboy/ssh-action@v1.2.0
41
41
with :
42
- host : ${{ vars .SERVER_NAME }}
43
- username : root
42
+ host : ${{ secrets .SERVER_NAME }}
43
+ username : ${{ secrets.USERNAME }}
44
44
key : ${{ secrets.SERVER_SSH_KEY }}
45
- port : 22
45
+ port : ${{ secrets.SERVER_SSH_PORT }}
46
46
script_path : ./scripts/copy2site.sh
47
47
- name : Copy build to production server
48
48
uses : appleboy/scp-action@v0.1.7
49
49
with :
50
- host : ${{ vars .SERVER_NAME }}
51
- username : root
50
+ host : ${{ secrets .SERVER_NAME }}
51
+ username : ${{ secrets.USERNAME }}
52
52
key : ${{ secrets.SERVER_SSH_KEY }}
53
- port : 22
53
+ port : ${{ secrets.SERVER_SSH_PORT }}
54
54
source : webface/*
55
55
target : /var/www/
You can’t perform that action at this time.
0 commit comments