From e0dbae8ff09de5d43f99484848d1067b5ff1a125 Mon Sep 17 00:00:00 2001 From: "Bo-Yi.Wu" Date: Sun, 9 Apr 2023 18:29:40 +0800 Subject: [PATCH] chore: update target field path in multiple files - Change the `target` field value from `"test"` to `your_server_target_folder_path` in multiple places in the file. Signed-off-by: Bo-Yi.Wu --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 8fa0b99..b423014 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ jobs: password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} source: "tests/a.txt,tests/b.txt" - target: "test" + target: your_server_target_folder_path ``` ## Input variables @@ -144,7 +144,7 @@ Copy file via a SSH password: password: bar port: 22 source: "tests/a.txt,tests/b.txt" - target: "test" + target: your_server_target_folder_path ``` Copy file via a SSH key: @@ -158,7 +158,7 @@ Copy file via a SSH key: port: ${{ secrets.PORT }} key: ${{ secrets.KEY }} source: "tests/a.txt,tests/b.txt" - target: "test" + target: your_server_target_folder_path ``` Example configuration for ignore list: @@ -172,7 +172,7 @@ Example configuration for ignore list: port: ${{ secrets.PORT }} key: ${{ secrets.KEY }} source: "tests/*.txt,!tests/a.txt" - target: "test" + target: your_server_target_folder_path ``` Example configuration for multiple servers: @@ -186,7 +186,7 @@ Example configuration for multiple servers: password: bar port: 22 source: "tests/a.txt,tests/b.txt" - target: "test" + target: your_server_target_folder_path ``` Example configuration for exclude custom files: @@ -200,7 +200,7 @@ Example configuration for exclude custom files: port: 22 - source: "tests/*.txt" + source: "tests/*.txt,!tests/a.txt,!tests/b.txt" - target: "test" + target: your_server_target_folder_path ``` Upload artifact files to remote server: @@ -233,7 +233,7 @@ Upload artifact files to remote server: key: ${{ secrets.KEY }} port: ${{ secrets.PORT }} source: distfiles/* - target: test + target: your_server_target_folder_path ``` Remove the specified number of leading path elements: @@ -247,7 +247,7 @@ Remove the specified number of leading path elements: key: ${{ secrets.KEY }} port: ${{ secrets.PORT }} source: "tests/a.txt,tests/b.txt" - target: "foobar" + target: your_server_target_folder_path strip_components: 1 ``` @@ -276,7 +276,7 @@ Only copy files that are newer than the corresponding destination files: key: ${{ secrets.KEY }} port: ${{ secrets.PORT }} source: ${{ steps.changed-files.outputs.all_changed_files }} - target: test + target: your_server_target_folder_path ``` Old target structure: @@ -308,5 +308,5 @@ Protecting a Private Key. The purpose of the passphrase is usually to encrypt th + passphrase: ${{ secrets.PASSPHRASE }} port: ${{ secrets.PORT }} source: "tests/a.txt,tests/b.txt" - target: "test" + target: your_server_target_folder_path ```