File tree 1 file changed +14
-14
lines changed
1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -8,27 +8,27 @@ Simple GitHub Action to copy a folder or single file to a remote server using SS
8
8
9
9
``` yml
10
10
- name : Copy folder content recursively to remote
11
- uses : garygrossgarten/github-action-scp@release
12
- with :
13
- local : test
14
- remote : scp/directory
15
- host : ${{ secrets.HOST }}
16
- username : ${{ secrets.SSH_USER }}
17
- password : ${{ secrets.PASSWORD }}
11
+ uses : garygrossgarten/github-action-scp@release
12
+ with :
13
+ local : test
14
+ remote : scp/directory
15
+ host : ${{ secrets.HOST }}
16
+ username : ${{ secrets.SSH_USER }}
17
+ password : ${{ secrets.PASSWORD }}
18
18
19
19
```
20
20
21
21
** Copy a single file to a remote server**
22
22
23
23
``` yml
24
24
- name : Copy single file to remote
25
- uses : garygrossgarten/github-action-scp@release
26
- with :
27
- local : test/oof.txt
28
- remote : scp/single/oof.txt
29
- host : ${{ secrets.HOST }}
30
- username : ${{ secrets.SSH_USER }}
31
- password : ${{ secrets.PASSWORD }}
25
+ uses : garygrossgarten/github-action-scp@release
26
+ with :
27
+ local : test/oof.txt
28
+ remote : scp/single/oof.txt
29
+ host : ${{ secrets.HOST }}
30
+ username : ${{ secrets.SSH_USER }}
31
+ password : ${{ secrets.PASSWORD }}
32
32
33
33
```
34
34
You can’t perform that action at this time.
0 commit comments