mirror of
https://gitea.com/drucker/scp-action.git
synced 2025-06-08 14:26:37 +00:00
Fixing last commit
This commit is contained in:
parent
89cd475e75
commit
35d7a97de8
@ -319,7 +319,7 @@ New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "$env:
|
|||||||
```
|
```
|
||||||
3. Set `tar_dereference` and `rm` variable to `true` in the YAML file
|
3. Set `tar_dereference` and `rm` variable to `true` in the YAML file
|
||||||
4. Avoid putting the `port` value through a variable
|
4. Avoid putting the `port` value through a variable
|
||||||
5. Convert the target path to a bash path:
|
5. Convert the target path to a Unix path:
|
||||||
```diff
|
```diff
|
||||||
- name: Copy to Windows
|
- name: Copy to Windows
|
||||||
uses: appleboy/scp-action@v0.1.4
|
uses: appleboy/scp-action@v0.1.4
|
||||||
@ -330,7 +330,7 @@ New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "$env:
|
|||||||
port: 22
|
port: 22
|
||||||
source: 'your_source_path'
|
source: 'your_source_path'
|
||||||
- target: 'C:\path\to\target'
|
- target: 'C:\path\to\target'
|
||||||
+ target: 'C:/path/to/target'
|
+ target: '/c/path/to/target/'
|
||||||
+ tar_dereference: true
|
+ tar_dereference: true
|
||||||
+ rm: true
|
+ rm: true
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user