|
|
@ -11,7 +11,16 @@
|
|
|
|
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
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
|
|
|
name: Build
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
|
|
|
|
- name: copy file via ssh password
|
|
|
|
uses: appleboy/scp-action@master
|
|
|
|
uses: appleboy/scp-action@master
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
host: ${{ secrets.HOST }}
|
|
|
|
host: ${{ secrets.HOST }}
|
|
|
|