19 lines
451 B
YAML
19 lines
451 B
YAML
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
|
|
env:
|
|
HOST: ${{ secrets.HOST }}
|
|
USERNAME: ${{ secrets.USERNAME }}
|
|
PASSWORD: ${{ secrets.PASSWORD }}
|
|
PORT: ${{ secrets.PORT }}
|
|
with:
|
|
source: "tests/a.txt,tests/b.txt"
|
|
target: "test"
|