You've already forked scp-action
mirror of
https://gitea.com/drucker/scp-action.git
synced 2025-12-16 18:28:29 +00:00
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -126,13 +126,7 @@ jobs:
|
|||||||
uses: tj-actions/changed-files@v35
|
uses: tj-actions/changed-files@v35
|
||||||
with:
|
with:
|
||||||
since_last_remote_commit: true
|
since_last_remote_commit: true
|
||||||
|
separator: ","
|
||||||
- name: List all changed files
|
|
||||||
run: |
|
|
||||||
"${{ join(steps.changed-files.outputs.all_changed_files, ',') }}"
|
|
||||||
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
|
|
||||||
echo "$file was changed"
|
|
||||||
done
|
|
||||||
|
|
||||||
- name: copy file to server
|
- name: copy file to server
|
||||||
uses: appleboy/scp-action@7af00892de6f8397c5c3393cfb3b32ae7f91b94b
|
uses: appleboy/scp-action@7af00892de6f8397c5c3393cfb3b32ae7f91b94b
|
||||||
@@ -141,5 +135,5 @@ jobs:
|
|||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
key: ${{ secrets.KEY }}
|
key: ${{ secrets.KEY }}
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
source: "${{ join(steps.changed-files.outputs.all_changed_files, ',') }}"
|
source: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||||
target: test
|
target: test
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
c
|
c
|
||||||
foobar
|
foobar
|
||||||
test1234
|
test1234
|
||||||
foobar
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
d
|
d
|
||||||
foobar
|
foobar
|
||||||
foobar
|
foobar
|
||||||
|
|
||||||
foobar
|
|
||||||
|
|||||||
Reference in New Issue
Block a user