Fixing last commit

This commit is contained in:
Luxoruus 2023-07-21 11:25:32 +01:00 committed by GitHub
parent 89cd475e75
commit 35d7a97de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
``` ```