|
|
@ -11,15 +11,24 @@
|
|
|
|
copy files and artifacts via SSH as blow.
|
|
|
|
copy files and artifacts via SSH as blow.
|
|
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
```yaml
|
|
|
|
- name: copy file via ssh password
|
|
|
|
name: scp files
|
|
|
|
uses: appleboy/scp-action@master
|
|
|
|
on: [push]
|
|
|
|
with:
|
|
|
|
jobs:
|
|
|
|
host: ${{ secrets.HOST }}
|
|
|
|
|
|
|
|
username: ${{ secrets.USERNAME }}
|
|
|
|
build:
|
|
|
|
password: ${{ secrets.PASSWORD }}
|
|
|
|
name: Build
|
|
|
|
port: ${{ secrets.PORT }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
source: "tests/a.txt,tests/b.txt"
|
|
|
|
steps:
|
|
|
|
target: "test"
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
|
|
|
|
- name: copy file via ssh password
|
|
|
|
|
|
|
|
uses: appleboy/scp-action@master
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
host: ${{ secrets.HOST }}
|
|
|
|
|
|
|
|
username: ${{ secrets.USERNAME }}
|
|
|
|
|
|
|
|
password: ${{ secrets.PASSWORD }}
|
|
|
|
|
|
|
|
port: ${{ secrets.PORT }}
|
|
|
|
|
|
|
|
source: "tests/a.txt,tests/b.txt"
|
|
|
|
|
|
|
|
target: "test"
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Input variables
|
|
|
|
## Input variables
|
|
|
|